摘要: 一、安装插件KoroFileHeader 二、在vscode左下角点击设置按钮,选择“设置”,然后输入“fileheader” 三、配置 文件头部注释:Fileheader:custom Made函数注释:Fileheader:cursor Mode随便点击哪个"在setting.json"中编辑, 阅读全文
posted @ 2022-04-29 17:58 零碎沉默 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 一、初始化 npm init -y 二、安装插件 yarn add sequelize-cli sequelize mysql2 @vue/cli 当安装完成后,如果数据库设置了密码需要在config配置文件中加上密码 三、初始化数据库 ..\node_modules\.bin\sequelize 阅读全文
posted @ 2022-04-24 13:25 零碎沉默 阅读(93) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-04-12 15:48 零碎沉默 阅读(80) 评论(0) 推荐(0) 编辑
摘要: 1、引入echartsConfig.js const Econfig = { tooltip: { trigger: 'axis', backgroundColor: 'rgba(0,0,0,0.6)', borderColor: 'rgba(0,0,0,0.6)', textStyle: { co 阅读全文
posted @ 2022-04-12 14:34 零碎沉默 阅读(563) 评论(0) 推荐(0) 编辑
摘要: 1、执行chcp => 得到936 2、执行chcp 65001 3、解决问题 阅读全文
posted @ 2022-03-18 15:34 零碎沉默 阅读(348) 评论(0) 推荐(0) 编辑
摘要: class XX{ static hello(){ } hi(){ } } let x = new XX(); x.hi() XX.hello() 阅读全文
posted @ 2022-02-11 16:49 零碎沉默 阅读(25) 评论(0) 推荐(0) 编辑
摘要: 完整的导航解析流程触发进入其它路由调用要离开路由的组件守卫beforeRouteLeave调用全局的前置守卫beforeEach在重用的组件里调用 beforeRouteUpdate在路由配置里调用 beforeEnter解析异步路由组件在将要进入的路由组件中调用beforeRouteEnter调用 阅读全文
posted @ 2022-02-11 11:00 零碎沉默 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 1.首先把安装amfe-flexible,这里使用npm install npm i -S amfe-flexible 2.在入口文件main.js中引入 import 'amfe-flexible/index.js' 3.在根目录的index.html 的头部加入手机端适配的meta代码 <met 阅读全文
posted @ 2021-09-03 16:44 零碎沉默 阅读(1230) 评论(0) 推荐(0) 编辑
摘要: ="{"""&"order"&""""&":"&""""&A2&""""&","&""""&"code"&""""&":"&"""&q 阅读全文
posted @ 2021-01-14 14:34 零碎沉默 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1、vs code 从终端打开打开当前文件快捷键 文件->首选项->快捷键方式->输入 open in terminal 进行设置 2、vs code 多行注释快捷键 alt+shift+A 3、visual studio 整理代码快捷键 ctrl+D,ctrl+K 4、visual studio 阅读全文
posted @ 2020-09-02 16:35 零碎沉默 阅读(157) 评论(0) 推荐(0) 编辑