摘要:
js设计模式 阅读全文
摘要:
.slice(-4) 截取后四位字符串 阅读全文
摘要:
console.log(/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent)); 苹果手机获取时间戳 let stopTime = new Date('2019/02/11 0:00:00').getTim 阅读全文
摘要:
var layout_width = 750; (function(doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function() { ... 阅读全文
摘要:
const actions={ updateUsername: ( { commit},value )=>{ console.log("actions updateUsername"); commit('updateUsername',value) }} 不能这样写{commit,value}props传boolean 要用单引号 componen-title='false'双... 阅读全文
摘要:
打开CMD,进入MONGO的安装文件夹,输入以下命令 Mongoimport.exe --db 数据库名 --collection pi --file 数据文件地址(json) mongoimport --db users --collection contacts --file E:\contac 阅读全文
摘要:
test.js var vm="321321"; export { vm }; export var name="李四"; a.vue import {vm} from '@/test' console.log(vm); console.log(name); 阅读全文
摘要:
Title man.png 阅读全文
摘要:
animation-play-state 规定动画正在运行还是暂停 animation-timing-function 规定动画的速度曲线 阅读全文
摘要:
父组件传给子组件props父组件设置props值 text:"组件内部数据传递"注意:传递固定内容 say="固定内容" ,传递data里面的变量 :say="text" 传boolean值和对象 :componen-title='false' :duixiang="{name:'3131'}" 子组件接收props props: { say :{ type: String },... 阅读全文