| | |
| | | uploadDia: false, |
| | | token: null, |
| | | fileList: [], |
| | | init: true |
| | | } |
| | | }, |
| | | watch: { |
| | |
| | | mounted() { |
| | | this.data = this.componentData |
| | | this.dataCopy = this.HaveJson(this.componentData) |
| | | this.selectList() |
| | | if(this.data.init===undefined||this.data.init===true){ |
| | | this.selectList() |
| | | } |
| | | this.token = { |
| | | 'token': sessionStorage.getItem('token') |
| | | } |
| | |
| | | } |
| | | } |
| | | val.field.forEach(a => { |
| | | if (JSON.stringify(this.upData[a]) == undefined) { |
| | | if (JSON.stringify(this.upData[a]) === undefined) { |
| | | this.upHead.push({ |
| | | value: a.split('=')[0], |
| | | label: a.split('=')[1] |