摘要: 1, vscode 文件 > 首选项 > 用户片段 > vue 2, { "Print to console": { "prefix": "vue", "body": [ "<template>", " <div class='home'></div>", "</template>", "", "< 阅读全文
posted @ 2021-06-17 17:45 深巷漫步 阅读(135) 评论(0) 推荐(0)
摘要: 报这个错误, 一般就是安装的版本太高了。安装下面版本, 问题解决 阅读全文
posted @ 2021-06-17 17:25 深巷漫步 阅读(158) 评论(0) 推荐(0)
摘要: 父元素需要加上onveflow:hidden 阅读全文
posted @ 2021-06-17 15:52 深巷漫步 阅读(176) 评论(0) 推荐(0)
摘要: 1, 2, 注意点: 路径必须要这样写, 不然找不到, 3, 使用: 阅读全文
posted @ 2021-06-06 19:52 深巷漫步 阅读(71) 评论(0) 推荐(0)
摘要: 现附上代码: 主要是运用了 select方法: select(selection, row) { if (selection.length > 1) { let del_row = selection.shift() this.$refs.elTable.toggleRowSelection(del 阅读全文
posted @ 2021-05-28 10:26 深巷漫步 阅读(3164) 评论(0) 推荐(0)
摘要: 直接抛出问题: vue-cli打包项目时警告: entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impac 阅读全文
posted @ 2021-04-15 16:47 深巷漫步 阅读(13892) 评论(0) 推荐(3)
摘要: 1、文件 > 首选项 > 用户片段 > 新建全局代码片段 > 新建vue.json 2、粘贴一下代码 { // Place your 全局 snippets here. Each snippet is defined under a snippet name and has a scope, pre 阅读全文
posted @ 2021-02-20 09:42 深巷漫步 阅读(829) 评论(0) 推荐(0)
摘要: 仔细看这个请求方式是:Request Method: OPTIONS原来在 CORS-跨域资源共享 中,可以使用 OPTIONS 方法发起一个预检请求,以检测实际请求是否可以被服务器所接受。预检请求报文中的 Access-Control-Request-Method 首部字段告知服务器实际请求所使用 阅读全文
posted @ 2021-01-13 15:12 深巷漫步 阅读(2295) 评论(0) 推荐(0)
摘要: 1. 安装依赖 npm install node-sass --save npm install sass-loader --save 2. 配置, 若项目的根目录中没有webpack.config.js 文件, 就在根目录新建即可 module.exports = { lintOnSave: fa 阅读全文
posted @ 2020-10-23 10:09 深巷漫步 阅读(1267) 评论(0) 推荐(0)
摘要: 1、保存凭证 git config --global credential.helper wincred 然后查看下git的config文件, 中就会有 [credential] helper = wincred再次输入密码后, git就会帮我们将其缓存起来 阅读全文
posted @ 2020-09-25 18:26 深巷漫步 阅读(1070) 评论(0) 推荐(0)
/* 看板娘 */