摘要:
1.npm i vue-i18n 2. 3.main.js 4.vue页面 阅读全文
摘要:
1.在asstes文件夹新建 2.在main.js读取本地json语言包 3.在vue页面t这样引用 阅读全文
摘要:
1.pdf分页显示 2.没有分页 阅读全文
摘要:
1.安装lib-flexible 终端执行命令:npm i lib-flexible --save 2.在main.js引入lib-flexible 3.终端执行命令:npm install postcss-pxtorem@5.1.1 4.在.postcssrc.js添加代码 5.在根目录建文件 阅读全文
摘要:
解决:.catch()不能省略(因为取消操作时,无法捕获) .then(res => {...}) .catch(()=>{});(then之后把catch加上) 阅读全文
摘要:
报错: 原因:data里没写return{} 阅读全文
摘要:
html: //收藏 <el-table-column prop="isOpen" label=""> <template slot-scope="scope"> <el-button @click="Collect(scope.$index, scope.row)" type="primary"> 阅读全文
摘要:
html: <el-table-column prop="remark" label=""> <template slot-scope="scope"> <el-input v-model="scope.row.remark" type="text" /> </template> </el-tabl 阅读全文