![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
maozuai~zi
这个作者很懒,什么都没留下…
展开
-
uni-app 封装接口 405错误
封装的接口原创 2022-03-24 10:15:54 · 1265 阅读 · 0 评论 -
uni-app jyf-parser将字符串转化为html
通过接口获取下来的数据是字符串1、安装 jyf-parser直接从项目上拷过来的2、引用 jyf-parser import jyfParser from '@/components/jyf-parser/jyf-parser.vue'; export default { components: { jyfParser },3、使用<jyf-parser ref="article" :html="content" lazy-load sho原创 2022-03-30 16:29:26 · 2478 阅读 · 1 评论 -
vue Root file specified for compilation
问题描述原因文件重新命名解决方法1、重启vscode2、引用的时候不用加.vue后缀import Header from ‘./Header’原创 2022-03-26 14:53:20 · 741 阅读 · 0 评论 -
uni-app vue angular 全局取消console.log
main.js配置//不显示console.logif (uni.getSystemInfoSync().platform !== "devtools") { console.log = () => {}}原创 2022-03-24 09:32:03 · 2040 阅读 · 0 评论 -
uni-app代理配置 manifest.json
vue代理1、manifest.json {}增加代理配置和"name" : "demo01"平级"h5" : { "devServer" : { "disableHostCheck" : true, "proxy" : { "/shoucheng" : { "target" : "http://i.shouchengholdings.cn:59113", //请求的原创 2022-03-23 15:22:59 · 2459 阅读 · 0 评论 -
vue 日期格式化
开始记录vue的相关问题啦从接口获取的时间格式为:2022-03-16T07:26:12.659+00:00转化为:2022-03-16 03:26:12在uni-app中使用Moment.js1、安装依赖npm install moment --save 在我的uni-app中安装不上,直接从别的项目上把node_modules\moment 这个依赖包拷贝到了现在的这个项目2、main.js引入文件import moment from './node_modules/moment/mome原创 2022-03-22 16:40:08 · 4759 阅读 · 0 评论 -
webstrom不支持html中vue语法提示
html中已经引用了vue.js,但webstrom无vue语法提示,解决方法:1、设置-插件,勾选vue.js2、设置-搜索 unknown HTML tag attributes ,将下面的指令复制到点开的窗口里v-text,v-html,v-once,v-if,v-show,v-else,v-for,v-on,v-bind,v-model,v-ref,v-el,v-pre,v-cloak,v-on:click,v-on:keyup.enter,v-on:keyup,@click,@change,原创 2020-08-07 10:20:01 · 731 阅读 · 1 评论