随笔分类 -  vuecli

摘要:我们使用elementUI多图上传时 <el-upload :action='uploadfileurl' list-type="picture-card" name="file" :on-success="handleAvatarSuccess" :headers="myHeaders" :fil 阅读全文
posted @ 2022-08-12 15:22 三线码工 阅读(1235) 评论(0) 推荐(0) 编辑
摘要:Avoid mutating a prop directly since the value will be overwritten whenever 使用elementUI时自己封装了个子 组件 el-time-select / el-date-picker /el-date-picker 时报错 阅读全文
posted @ 2022-06-22 09:45 三线码工 阅读(7208) 评论(2) 推荐(4) 编辑
摘要:<el-upload class="avatar-uploader" action="http://************/file/upload" :show-file-list="false" name="image" :on-success="handleAvatarSuccess" :be 阅读全文
posted @ 2021-12-30 09:20 三线码工 阅读(974) 评论(0) 推荐(0) 编辑
摘要:vscode 快捷键生成vue模板 1.打开 文件--》首选项--》用户片段 2.搜索 选择 3.填写快捷键的代码 ,保存 prefix 表示快捷键为vuebody 表示快捷键后生成的代码 { "Print to console": { "prefix": "vue", "body": [ "<te 阅读全文
posted @ 2021-11-02 16:57 三线码工 阅读(2171) 评论(0) 推荐(1) 编辑
摘要:Element UI 中国省市区级联数据 npm install element-china-area-data -S 1.按需导入 import { provinceAndCityData, regionData, provinceAndCityDataPlus, regionDataPlus, 阅读全文
posted @ 2021-05-18 14:53 三线码工 阅读(4353) 评论(0) 推荐(1) 编辑
摘要:<el-checkbox-group v-model="checkList"> <el-checkbox v-for="(it,i) in rolerList" :key="i" :label="it.id+''" > {{it.title}} </el-checkbox> 多选框,label是用户 阅读全文
posted @ 2021-01-05 10:10 三线码工 阅读(1295) 评论(0) 推荐(1) 编辑
摘要:1.安装element UI npm i element-ui -S 在main.js 中 引入element import ElementUI from 'element-ui' import 'element-ui/lib/theme-chalk/index.css' Vue.use(Eleme 阅读全文
posted @ 2020-11-26 22:08 三线码工 阅读(477) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示