|
@@ -269,7 +269,7 @@ export default {
|
|
|
const nameterCi = Object.entries(datacontent.filter)[0]
|
|
|
const namekeyCi = dropdownlist + nameterCi[0] + nameterCi[1]
|
|
|
if (namekeyItem == namekeyCi) {
|
|
|
- this.tableOptions[pagecode] = returnData
|
|
|
+ this.tableOptions[pagecode] = _.cloneDeep(returnData)
|
|
|
}
|
|
|
})
|
|
|
})
|
|
@@ -319,9 +319,11 @@ export default {
|
|
|
const pubKeyStr = sessionStorage.getItem('pubKeyStr')
|
|
|
if (!pubKeyStr) return
|
|
|
ndata.map(({ pagecode }) => {
|
|
|
- const jse = new JSEncrypt()
|
|
|
- jse.setPublicKey(pubKeyStr)
|
|
|
- this.tableForm[pagecode] = jse.encrypt(this.tableForm[pagecode].replace(/\s+/g, ""))
|
|
|
+ if (this.tableForm[pagecode]) {
|
|
|
+ const jse = new JSEncrypt()
|
|
|
+ jse.setPublicKey(pubKeyStr)
|
|
|
+ this.tableForm[pagecode] = jse.encrypt(this.tableForm[pagecode].replace(/\s+/g, ""))
|
|
|
+ }
|
|
|
})
|
|
|
}
|
|
|
},
|