会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
11个条子
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
8
下一页
2018年7月31日
学习笔记-vue.js快捷登录 enter
摘要: 一般监听在输入密码的input监听keyup事件,加enter修饰符。如果input是组件,加上.native修饰符。<div id="app"> <input placeholder="请输入账号" type="text"> <input placeholder="请输入密码" type="pas
阅读全文
posted @ 2018-07-31 10:08 11个条子
阅读(807)
评论(0)
推荐(0)
2018年7月26日
学习笔记-json数据格式化
摘要: 标准的json : let result=[{"a": 'aa', "b": 'aa', "c": 'aa'}, {"a": 'bb', "b": 'bb', "c": 'bb'}, {"a": 'cc', "b": 'cc', "
阅读全文
posted @ 2018-07-26 08:38 11个条子
阅读(166)
评论(0)
推荐(0)
2018年7月5日
学习笔记-vue.js获取file文件数据
摘要: 在vue中file不能像其他input一样使用 v-model 双向数据绑定,因为文件选择是只读,只能用onchange监控值得变化。 所有需要使用v-on:change去监控。 例1: 例2:
阅读全文
posted @ 2018-07-05 15:47 11个条子
阅读(13518)
评论(0)
推荐(0)
2018年6月4日
vue-router 监控全局路由,在路由中改变vuex中的状态值
摘要:
阅读全文
posted @ 2018-06-04 13:40 11个条子
阅读(3431)
评论(0)
推荐(1)
2018年5月22日
vue报错:Component template should contain exactly one root element. If you are using v-if on multiple elements, use v-else-if to chain them instead.
摘要: vue模板只能有一个根对象 所以你想要出现正常的效果,你的用一个div来或是别的标签来包裹全部的元素 正确写法: <div> </div> 地址:https://www.cnblogs.com/liziyou/p/6708537.html
阅读全文
posted @ 2018-05-22 17:04 11个条子
阅读(288)
评论(0)
推荐(0)
2018年5月10日
angularjs 图片上传
摘要: <input type="file" file-model="myFile"/><div class="col-md-12"> <img ng-src="{{imageSrc}}" style="max-width:68px;max-height:68px;display:block;" /></d
阅读全文
posted @ 2018-05-10 15:41 11个条子
阅读(280)
评论(0)
推荐(0)
2018年4月23日
css 怎么在文字两边加上横线
摘要: <div class="title"> <h2 class="title-text"><span>工作经历</span></h2> </div> .title-text span { display: block; /*设置为块级元素会独占一行形成上下居中的效果*/ position: relati
阅读全文
posted @ 2018-04-23 17:45 11个条子
阅读(5319)
评论(0)
推荐(0)
2018年4月9日
解决跨域问题chrome浏览器插件
摘要: https://www.crx4chrome.com/crx/53489/ 解决chrome浏览器跨域的问题
阅读全文
posted @ 2018-04-09 09:59 11个条子
阅读(6261)
评论(0)
推荐(0)
angular+ionic -- 启动命令
摘要: 初始angular+ionic项目,启动需ionic的启动命令: ionic serve
阅读全文
posted @ 2018-04-09 09:17 11个条子
阅读(1924)
评论(0)
推荐(0)
2018年2月9日
mp4的视频打开可以播放在页面上无法打开
摘要: MP4视频在本地可以播放但是使用html5的video多媒体播放标签不能正常播放只有一个进度条而不显示图像? ,其实就是一个视频编码的问题,格式虽然都是MP4但是html中只支持H.264的编码格式,转码时只有选择 关于<video>标签所支持的视频格式和编码: MP4 = MPEG 4文件使用 H
阅读全文
posted @ 2018-02-09 10:56 11个条子
阅读(208)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告