html <button class="btn btn-sm btn-primary pull-right" ng-click="exportData($event)"><i class="fa fa-spinner fa-pulse hidden"></i>导出表格</button> js //导 ...
分类:
Web程序 时间:
2020-07-30 22:03:35
阅读次数:
93
设置另一个button和text替代input file,隐藏input file。 <input type="file" id="tts-input-text" accept="text/plain" onChange={readFile} onClick={(e: any) => (e.targ ...
分类:
其他好文 时间:
2020-07-30 18:23:29
阅读次数:
130
###js 时间的显示(循环刷新获取时间) <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="a"> </div> <input type="button" onc ...
分类:
Web程序 时间:
2020-07-30 14:45:17
阅读次数:
100
<input type="button" value="Click" id="C" onclick="Go();"><input type="button" value="Wait" id="W" onclick="javascript:alert('Amazing!');"> <script>va ...
分类:
编程语言 时间:
2020-07-29 00:48:08
阅读次数:
125
函数介绍msgbox()——消息弹窗msgbox(msg=‘‘,title=‘‘,ok_button=‘‘,image=None,root=None)该函数一般调用前三个关键字即可,加载图片的话给image赋值需要下载其他库,否则只能加载GIF。ccbox()——双项选择ccbox(msg=‘‘,title=‘‘,ch
分类:
编程语言 时间:
2020-07-27 16:09:31
阅读次数:
104
https://www.jianshu.com/p/192828fad763 注: UMAnalystics SDK版本为5.5.0 或者 5.5.1友盟官方文档仅有一句 [UMConfigure initWithAppkey:kUMengAppKey channel:@"App Store"]; ...
分类:
移动开发 时间:
2020-07-27 15:48:41
阅读次数:
152
btn.semanticContentAttribute = .forceRightToLeft 查了下资料 semanticContentAttribute 是反转 ,即描述视图的内容,用来确定视图之间切换时应翻转从左到右和从右到左的布局 最低支持到9.0 参考链接:https://www.jia ...
分类:
编程语言 时间:
2020-07-27 13:58:20
阅读次数:
110
自带的动态创建看着不那么明朗,于是自己搞了一个模板弄着玩 语法靠近原生 目前仅替换了引号"符号 目前仅实现的button控件 给rollout装上了this的功能 ...
分类:
其他好文 时间:
2020-07-27 09:43:59
阅读次数:
77
多个组件使用同一个挂载点,并且进行动态的切换这就是动态组件。 通过使用<component>元素动态的绑定到它的is特性,来实现动态组件 <div id="test"> <button @click="change">切换页面</button> <component :is="currentView ...
分类:
其他好文 时间:
2020-07-26 19:19:13
阅读次数:
119
vue-router是Vue的路由管理器,它是Vue的核心插件。在当前Vue项目中一般都是单页面应用,所以可以说vue-router它是应用在单页面中的。在web开发中,路由是指根据url分配到对应的处理程序,vue-router它通过对url的管理,实现url和组件的对应,以及通过url进行组件之 ...
分类:
其他好文 时间:
2020-07-26 19:18:15
阅读次数:
63