随笔分类 -  vue

vue常用的操作
摘要:1.出现白屏(IE9)兼容性问题 npm i babel-polyfill -D 然后 main.js中引用 import 'babel-polyfill' 2.屏幕闪动 css中 [v-cloak]{ display: none; }在需要的地方加上 <div id="app" v-cloak> 阅读全文
posted @ 2020-11-10 11:49 free_upup 阅读(594) 评论(0) 推荐(0)
摘要:1.引入element 中 page <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage" :page-s 阅读全文
posted @ 2020-09-09 14:31 free_upup 阅读(582) 评论(0) 推荐(0)
摘要:1.如果返回的是"2025-08-01T13:45:01“格式 change_time:function (time) { let date = new Date(time) return date.getFullYear() + '-' + this.checkTime(date.getMonth 阅读全文
posted @ 2020-09-08 10:47 free_upup 阅读(185) 评论(0) 推荐(0)
摘要:this.mounted=function(){ // 需要在一开始调用一下方法,否则在开始的30s是没有数据的 this.getAppListTableData(); if (this.timer) { clearInterval(this.timer) } else { this.timer = 阅读全文
posted @ 2020-08-27 11:10 free_upup 阅读(667) 评论(0) 推荐(0)