欢迎加QQ交流:
2
0
2
3

11 2022 档案

摘要:安装 vuex npm i vuex@next -S // 安装最新vuex store/index.js import { createStore } from 'vuex' export default createStore({ state: { login_index: 0, // 变量 } 阅读全文
posted @ 2022-11-30 09:42 常安· 阅读(84) 评论(0) 推荐(0) 编辑
摘要:NProgress.js 官网 https://ricostacruz.com/nprogress/ 安装: npm install nprogress 使用: // 引入NProgress进度条import NProgress from 'nprogress'import 'nprogress/n 阅读全文
posted @ 2022-11-28 16:16 常安· 阅读(110) 评论(0) 推荐(0) 编辑
摘要:<template> <el-form ref="formRef" :model="numberValidateForm" label-width="100px" class="demo-ruleForm" :rules="rules" > <el-form-item label="age" pro 阅读全文
posted @ 2022-11-28 11:23 常安· 阅读(57) 评论(0) 推荐(0) 编辑
摘要:Transition描述: “CSS的transition允许CSS的属性值在一定的时间区间内平滑地过渡。这种效果可以在鼠标单击、获得焦点、被点击或对元素任何改变中触发,并圆滑地以动画效果改变CSS的属性值。" 语法: transition : [ || || || [, [ || || || ]] 阅读全文
posted @ 2022-11-16 16:13 常安· 阅读(59) 评论(0) 推荐(0) 编辑
摘要:前端报错 cors 跨域 解决方法: 1. 安装 koa2-cors npm install koa2-cors 2. 在 app.js 里 加上: const Koa = require('koa') const app = new Koa() const cors = require('koa2 阅读全文
posted @ 2022-11-11 16:59 常安· 阅读(248) 评论(0) 推荐(0) 编辑
摘要:nodejs 运行下面代码: ​​​ 报错: Error ENOENT : no such file or directory, open 'input.txt' 解决: var fs = require("fs"); let path = require('path'); // 引入path le 阅读全文
posted @ 2022-11-08 11:06 常安· 阅读(767) 评论(0) 推荐(0) 编辑

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