会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
koo-
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2022年4月22日
vue 页面中切换国际语言
摘要: 1.npm i vue-i18n 2. 3.main.js 4.vue页面
阅读全文
posted @ 2022-04-22 10:57 koo-
阅读(69)
评论(0)
推荐(0)
2022年4月21日
vue 切换json语言包
摘要: 1.在asstes文件夹新建 2.在main.js读取本地json语言包 3.在vue页面t这样引用
阅读全文
posted @ 2022-04-21 20:55 koo-
阅读(118)
评论(0)
推荐(0)
2022年4月20日
vue 页面嵌入pdf文件
摘要: 1.pdf分页显示 2.没有分页
阅读全文
posted @ 2022-04-20 17:16 koo-
阅读(244)
评论(0)
推荐(0)
vue 移动端px转rem
摘要: 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.在根目录建文件
阅读全文
posted @ 2022-04-20 10:43 koo-
阅读(67)
评论(0)
推荐(0)
2022年4月1日
vue 报错Uncaught (in promise) cancel
摘要: 解决:.catch()不能省略(因为取消操作时,无法捕获) .then(res => {...}) .catch(()=>{});(then之后把catch加上)
阅读全文
posted @ 2022-04-01 11:13 koo-
阅读(195)
评论(0)
推荐(0)
2022年3月23日
vue data functions should return an object
摘要: 报错: 原因:data里没写return{}
阅读全文
posted @ 2022-03-23 18:36 koo-
阅读(69)
评论(0)
推荐(0)
2022年3月7日
vue 收藏
摘要: html: //收藏 <el-table-column prop="isOpen" label=""> <template slot-scope="scope"> <el-button @click="Collect(scope.$index, scope.row)" type="primary">
阅读全文
posted @ 2022-03-07 11:03 koo-
阅读(65)
评论(0)
推荐(0)
vue remark重置 提交
摘要: html: <el-table-column prop="remark" label=""> <template slot-scope="scope"> <el-input v-model="scope.row.remark" type="text" /> </template> </el-tabl
阅读全文
posted @ 2022-03-07 10:52 koo-
阅读(144)
评论(0)
推荐(0)
2022年2月16日
vue把后端传的数字 转成中文显示在页面
摘要:
阅读全文
posted @ 2022-02-16 15:27 koo-
阅读(224)
评论(0)
推荐(0)
vue项目element-ui组件打包后组件显示方框解决方式
摘要: 在 utils.js文件添加一句代码 publicPath:'../../',
阅读全文
posted @ 2022-02-16 10:48 koo-
阅读(332)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告