04 2022 档案

Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions的解决
摘要:一、问题出现:在进行 nuxt 创建项目的过程中,出现了这样的异常, Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions,如下图所示: 二、问题分析及解决: 阅读全文

posted @ 2022-04-18 15:30 左侧岚 阅读(1090) 评论(0) 推荐(0) 编辑

crypto.js 加密 import CryptoJS from 'crypto-js';
摘要:<html> <head> <title>>前端js加解密学习过程</title> </head> <body> </body> <!-- base64 --> <script> var str = "beijing"; var str64 = window.btoa(str); console.l 阅读全文

posted @ 2022-04-18 14:36 左侧岚 阅读(303) 评论(0) 推荐(0) 编辑

Jquery 监听click事件,只触发一次,第二次点击就失效
摘要:Jquery 监听click事件,只触发一次,第二次点击就失效 只触发一次的写法 解决方案 案例以class为选择器,也可以换成id 只触发一次的写法 $(".fc-prev-button").click(function(){}) 或 $(".fc-prev-button").on(“click” 阅读全文

posted @ 2022-04-13 16:28 左侧岚 阅读(1228) 评论(0) 推荐(0) 编辑

vue打包的路径问题
摘要:因为应用上线的地址不是根目录,而vue打包之后的默认路径是从根目录开始算的,所以导致js跟css路径不对的问题 解决方法:修改config/index.js下面的代码,将 assetsPublicPath: '/'跟路径修改为assetsPublicPath: './'当前文件夹路径 解决之后,发现 阅读全文

posted @ 2022-04-13 11:04 左侧岚 阅读(1535) 评论(0) 推荐(0) 编辑

linux vim命令下 模糊查询
摘要: 阅读全文

posted @ 2022-04-12 15:10 左侧岚 阅读(248) 评论(0) 推荐(0) 编辑

mac 安装了docker,使用命令提示:-bash : docker :command not found 的解决办法
摘要:原因是:没有将docker 命令所在的路径添加到系统变量中; 解决办法: 1.找到docker 命令所在路径,我的路径是:/Applications/Docker.app/Contents/Resources/bin; 2.在/etc/paths 文件末尾添加该路径: 阅读全文

posted @ 2022-04-10 18:01 左侧岚 阅读(5035) 评论(0) 推荐(0) 编辑

react 启动项目控制台打印代理的地址 logLevel: "debug",
摘要:logLevel: "debug", 阅读全文

posted @ 2022-04-01 17:30 左侧岚 阅读(277) 评论(0) 推荐(0) 编辑

tsx 格式 引入的组件 没引用 就会报错 要么注释 要么删除
摘要: 阅读全文

posted @ 2022-04-01 16:57 左侧岚 阅读(265) 评论(1) 推荐(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
点击右上角即可分享
微信分享提示