2021年4月21日
摘要: onStop(监听停止) 和 onEnded(监听播放自然结束) 在开发工具 和 真机 功能应该是反了 阅读全文
posted @ 2021-04-21 15:14 蝎子莱莱与车轮滚滚 阅读(73) 评论(0) 推荐(0)
  2021年4月1日
摘要: https://www.zhihu.com/question/68323335 阅读全文
posted @ 2021-04-01 17:49 蝎子莱莱与车轮滚滚 阅读(50) 评论(0) 推荐(0)
  2021年3月16日
摘要: this.$router.push({ path:'/card' }) this.$router.push({ path:'card' }) 前者会跳转到 '/card' 后者跳转到'当前路由地址/card' this.$router.resolve可以 查看具体地址 https://router. 阅读全文
posted @ 2021-03-16 17:34 蝎子莱莱与车轮滚滚 阅读(16) 评论(0) 推荐(0)
  2021年3月3日
摘要: <el-upload action="/" :show-file-list="false" :http-request="uploadKinSign" > uploadKinSign({ file }) { const url = URL.createObjectURL(file); this.ki 阅读全文
posted @ 2021-03-03 14:59 蝎子莱莱与车轮滚滚 阅读(184) 评论(0) 推荐(0)
摘要: { a:100, b:1000, } 将对象中每个属性除以100 const monthFree={ a:100, b:1000 } const final = {}; Object.entries(monthFree).forEach(([key, value]) => { final[key] 阅读全文
posted @ 2021-03-03 14:08 蝎子莱莱与车轮滚滚 阅读(592) 评论(0) 推荐(0)
摘要: arr: { type: Array, default: () => [], }, obj: { type: Object, default: () => ({}), }, default: () => {} 会返回undefind,()=>{}像一个函数定义,所以返回undefind加个括号 de 阅读全文
posted @ 2021-03-03 13:55 蝎子莱莱与车轮滚滚 阅读(108) 评论(0) 推荐(0)
  2021年3月2日
摘要: Object.assign(this.$data, this.$options.data.call(this)); 如果 export default 外部 定义数据 并且 data 引用 了这些数据 ,则可能出现问题 阅读全文
posted @ 2021-03-02 17:18 蝎子莱莱与车轮滚滚 阅读(39) 评论(0) 推荐(0)
  2021年2月25日
摘要: <return-dialog :dialogVisible.sync="returnDialogVisible" @setFee="setFee" ></return-dialog> return-dialog内部: <template> <el-dialog title="退还费用" :visib 阅读全文
posted @ 2021-02-25 17:03 蝎子莱莱与车轮滚滚 阅读(44) 评论(0) 推荐(0)
  2021年2月24日
摘要: 1.Element.scrollIntoView() 2.window.scroll(x,element.offsetTop) 阅读全文
posted @ 2021-02-24 15:28 蝎子莱莱与车轮滚滚 阅读(29) 评论(0) 推荐(0)