Commit b1c4e253 by 张超军

2222

parent 3e60adac
/*
* @Author: your name
* @Date: 2021-08-27 14:14:36
* @LastEditTime: 2021-09-02 15:59:47
* @LastEditTime: 2021-09-02 17:44:51
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\router\modules\index.js
......@@ -23,6 +23,7 @@ export default [
{
path: "/Home",
name: "Home",
redirect: '/Home/rwgl',
meta: {
title: "工作桌面",
auth: "5"
......
<!--
* @Author: your name
* @Date: 2021-09-01 09:45:29
* @LastEditTime: 2021-09-02 16:00:49
* @LastEditTime: 2021-09-02 17:38:56
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\rwgl\rympfk.vue
......@@ -112,6 +112,7 @@ export default {
width: "auto",
},
],
info: {},
tableData: [
],
......@@ -158,7 +159,11 @@ export default {
},
mounted () {
console.log(this.$route.params);
this.tableData.push(this.$route.params.info)
if(this.$route.params.info) {
localStorage.setItem('info', JSON.stringify(this.$route.params.info))
}
console.log(localStorage);
this.tableData[0] = JSON.parse(localStorage.getItem('info'))
// document.getElementsByClassName('el-input__icon')[0].className += ' el-icon-date'; //在原来的后面加这个
},
updated () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment