03 2022 档案

摘要:登录页 触发登录事件 methods: { //触发登录事件 onSubmit() { // 如果登录成功 if (this.id 'admin' && this.password '123456') { this.$router.push('/main') //跳转页面 localStorage. 阅读全文
posted @ 2022-03-21 22:34 朝颜浅语 阅读(236) 评论(0) 推荐(0) 编辑
摘要:1.对应的包 import { Loading } from 'element-ui' 2.data中进行声明 data() { return { loadingInstance: null, } }, 3.加入动画 this.loadingInstance = Loading.service({ 阅读全文
posted @ 2022-03-21 21:31 朝颜浅语 阅读(536) 评论(0) 推荐(0) 编辑
摘要:Vue项目中路由重复 产生如下报错 Uncaught (in promise) NavigationDuplicated: Avoided redundant navigation to current location: "/main/index". 原因:vue-router路由版本更新产生的问 阅读全文
posted @ 2022-03-08 22:40 朝颜浅语 阅读(198) 评论(0) 推荐(0) 编辑
摘要:CSS层叠样式表 三大特性 层叠性:相同的样式会覆盖 继承性:属性可向下继承 优先级:范围越小权重越高 选择器 基础选择器 标签选择器 body { color:#fff; } 类选择器 .people‐first { color:green; } id选择器 #laowang { color:ye 阅读全文
posted @ 2022-03-06 23:41 朝颜浅语 阅读(278) 评论(0) 推荐(0) 编辑
摘要:HTML 主要格式 1 <html> 2 <head> 3 </head> 4 <body> 5 </body> 6 </html> 标签语义化 推荐使用双引号 a标签 1 <a href="#空 #top跳转 http:// xxx.zip">点此跳转</a> img标签 1 <img src=" 阅读全文
posted @ 2022-03-06 23:10 朝颜浅语 阅读(27) 评论(0) 推荐(0) 编辑
摘要:### 官方示例 > git config --global user.name "x_xxxx" git config --global user.email "xxxxxxx@xx.com" > 创建git仓库: mkdir 仓库名 cd 仓库名 git init touch README.md 阅读全文
posted @ 2022-03-06 22:29 朝颜浅语 阅读(62) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示
🚀
回顶
收起