摘要:
input 输入框需要写在 el-form 中 <el-form ref="userInfo"> <el-form-item label="金额" label-width="0.5rem"> <el-input style='width:0.7rem' v-model="money" autocom 阅读全文
posted @ 2020-12-28 18:24
倔强的烤马铃薯
阅读(11)
评论(0)
推荐(0)
摘要:
1.安装导出excel依赖 npm install -S file-saver xlsx npm install -D script-loader 2.在str文件夹中新建文件,引入两份文件 Blob.js和Export2Excel.js 3.在页面中添加导出事件 <el-button type=" 阅读全文
posted @ 2020-12-28 17:54
倔强的烤马铃薯
阅读(17)
评论(0)
推荐(0)
摘要:
1.引入select选择器 <el-select v-model="defaults" filterable placeholder="请选择" style='width:1.2rem' @change="getdefaults"> <el-option v-for="item in datalis 阅读全文
posted @ 2020-12-28 17:19
倔强的烤马铃薯
阅读(71)
评论(0)
推荐(0)
摘要:
1.在static文件下添加setup.js 在里面添加ip, window.ip是添加全局变量 window.ip={ baseurl:'http://localhost:8888'// 自己的ip地址 } 2.将setup.js文件引入index.html <!DOCTYPE html> <ht 阅读全文
posted @ 2020-12-28 11:46
倔强的烤马铃薯
阅读(31)
评论(0)
推荐(0)

浙公网安备 33010602011771号