摘要: created函数需写在methods的外边 不能写在里面 获取数据的语法 在获取表格中本行数据时,应使用scope.row.数据 阅读全文
posted @ 2024-02-24 23:14 连师傅只会helloword 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 一、在el-menu加上router,添加el-menu的default-active属性,加:动态绑定,值设置为"this.$router.path" , 如图 二、在下面的具体的item的index中写入所要跳转的页面的路径 如图 即可实现界面的跳转 阅读全文
posted @ 2024-02-24 22:20 连师傅只会helloword 阅读(246) 评论(0) 推荐(0) 编辑