|
@@ -49,7 +49,11 @@ export default {
|
|
async getLocalData() {
|
|
async getLocalData() {
|
|
const { code, retObj } = await this.getApi({ key: this.cacheKey })
|
|
const { code, retObj } = await this.getApi({ key: this.cacheKey })
|
|
if (code === 0) {
|
|
if (code === 0) {
|
|
- this.$set(this.editForm, 'value', retObj)
|
|
|
|
|
|
+ if (retObj.startsWith('{')) {
|
|
|
|
+ this.$set(this.editForm, 'value', retObj.replaceAll('\\', ''))
|
|
|
|
+ } else {
|
|
|
|
+ this.$set(this.editForm, 'value', retObj)
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
confirmClick() {
|
|
confirmClick() {
|