随笔 - 135  文章 - 0  评论 - 2  阅读 - 17万
01 2023 档案
vue和vue-template-compiler版本不一样报错
摘要:vue项目,package.json中Vue和vue-template-compiler版本不一致时,执行npm run dev有时会报错 提示如下内容 解决方法 : 第一步:执行npm uninstall vue-template-compiler 第二步:执行npm install vue-te 阅读全文
posted @ 2023-01-30 10:14 稳住别慌 阅读(592) 评论(0) 推荐(0) 编辑
unref、isRef、toRef、toRefs
摘要:unref() 如果参数是一个ref则返回它的value,否则返回参数本身unref(val) 相当于val=isRef(val)?val.value:val function initialCount(value: number | Ref<number>) { // Make the outpu 阅读全文
posted @ 2023-01-29 17:48 稳住别慌 阅读(9998) 评论(0) 推荐(0) 编辑
ant table表头行列拖拽切换位置
摘要:import Sortable from 'sortablejs' // 行拖拽 rowDrop() { const tbody = document.querySelector('.ant-table-tbody') // 元素选择器名称根据实际内容替换 const _this = this So 阅读全文
posted @ 2023-01-28 14:48 稳住别慌 阅读(522) 评论(0) 推荐(0) 编辑
table表格表头拖拽呼唤位置
摘要:<template> <div class=""> <table> <thead class="el-table__header-wrapper has-gutter"> <tr> <th v-for="(columns,index) in tablesColumns" :key="index" d 阅读全文
posted @ 2023-01-19 16:50 稳住别慌 阅读(107) 评论(0) 推荐(0) 编辑
npm i 报版本错误
摘要:npm i 报错 解决方法: npm i --legacy-peer-deps(通常,最简单的解决方法是将--legacy-peer-deps标志传递给npm(e.g.,npm i --legacy-peer-deps),或者使用npm@6。) 阅读全文
posted @ 2023-01-13 11:23 稳住别慌 阅读(244) 评论(0) 推荐(0) 编辑
git clone 报fatal: unable to access 'https://github.com/vueComponent/ant-design-vue-pro.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
摘要:git config --global https.sslVerify "false" 也就是在c盘用户下找到 .gitconfig 添加 或者运行git init 阅读全文
posted @ 2023-01-13 10:01 稳住别慌 阅读(260) 评论(0) 推荐(0) 编辑
a-range-picker控制禁止选择的时间
摘要:<a-form-model-item label="时间周期" prop="dateRange" > <a-range-picker v-model="form.dateRange" format="YYYY-MM-DD" value-format="YYYY-MM-DD" :disabled-da 阅读全文
posted @ 2023-01-06 16:41 稳住别慌 阅读(1034) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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