
工作bug
文章平均质量分 58
唯一的wataru
这个作者很懒,什么都没留下…
展开
-
v-if导致el-button的disabled属性动态修改失败,加key解决(虚拟列表+el-checkbox出现勾选/未勾选的闪现问题同理解决)
虚拟列表的el-checkbox,el-checkbox没有设置key属性时,在滚动虚拟列表时,会出现。原创 2024-01-02 11:59:35 · 1721 阅读 · 0 评论 -
git submodule fatal: please stage your changes to .gitmodules or stash them to proceed
git submodule 子模块删除/添加$ git submodule add gitlab.xxx.com/xxx/sub_project1.git$ git rm --cached sub_project1sub_project1 already exists in the indexPlease stage your changes to .gitmodules or stash them to proceed原创 2022-10-18 17:55:45 · 3857 阅读 · 0 评论 -
element-ui et -i 编译默认主题报错:ReferenceError: primordials is not defined
1. 之前全局安装过 element-theme用什么node 版本安装的,就用什么版本去卸载 element-theme2. 把node版本改成 11.15.0,用这个版本去全局安装 element-theme去执行 et命令后,切换到node v11.15.0,重新安装 element-theme再执行et,就没有报错。原创 2022-09-02 15:53:19 · 1114 阅读 · 0 评论 -
NET::ERR_CERT_AUTHORITY_INVALID 您的连接不是私密连接,此网站使用了HSTS...
这是证书授权无效问题。NET::ERR_CERT_AUTHORITY_INVALID证书过期。延长证书的有效期可能手动设置的日期,超过了证书的有效期?关掉系统的手动设置的时间。使用了抓包工具,证书被抓包工具劫持了CA,浏览器不认这个CA,所以提示错误。把抓包工具关掉。.........原创 2022-04-19 19:16:48 · 12446 阅读 · 0 评论 -
【bug】router-link没有编译为a标签
问题:原因一:use 顺序错误引入vue-router后,在注册的时候顺序错了,要先use,再 mount(),要先使用再挂载。否则挂载上去后,再使用,就不会编译了。解决方法:将 use 方法用在 mount 挂载前:原因二: vue-router 依赖文件有问题解决方法: 重新 npm install vue-router@xxx , xxx 为 vue-router 的版本原因三:main.js(入口文件) 没有引入 vue-router解决方法:找到入口文件,import V原创 2022-04-17 21:47:53 · 1625 阅读 · 2 评论 -
module namespace not found in mapActions(): channel/
1. 检查仓库模块是否遗漏:namespaced: true // js// vuex-class ts// store/modules/channelexport const name = "channel"export const namespaced = trueexport const dynamic = true2. store引用模块是否没有加入channel模块// jsimport Vue from 'vue';import Vuex from 'vuex';原创 2022-04-13 11:26:00 · 741 阅读 · 0 评论