摘要: ###创建页面,依旧是home的子路由 ###点击是激活状态 ####just so so————把savePath都换成activePath了,这样sessionStorage不用存savePath #####自己的思路 menu的激活属性需要index值,也就是路径值 点击二级菜单时保存——路径 阅读全文
posted @ 2022-01-07 17:32 ice猫猫3 阅读(81) 评论(0) 推荐(0) 编辑
摘要: ###在home的区域显示welcome页面 =home的子路由规则是welcome 路由占位符$$$ ###左侧菜单改为路由链接 ①开启路由模式 ②index属性当做跳转地址 数据: 阅读全文
posted @ 2022-01-07 16:48 ice猫猫3 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 阿里字体图标库提供的操作步骤: 实际导入css 引用类即可 阅读全文
posted @ 2022-01-07 15:06 ice猫猫3 阅读(43) 评论(0) 推荐(0) 编辑
摘要: ##获取数据——get请求 把获取到的数据立即挂载到自己的私有数据data中 代码: if (res.meta.status !== 200) return this.$message.error(res.meta.msg);非常常用 ##后台数据: ##数据渲染/绑定——v-for v-for 需 阅读全文
posted @ 2022-01-07 01:31 ice猫猫3 阅读(66) 评论(0) 推荐(0) 编辑
摘要: ##主页home布局 先上下,再左右(第四个↓)来源: 代码: 注册:element.js中注册 ##header布局 display:flex; justify-content:space-between; align-items:center; ##aside菜单栏布局 来源: 代码: 注册:e 阅读全文
posted @ 2022-01-07 00:36 ice猫猫3 阅读(78) 评论(0) 推荐(0) 编辑