vue2-client 1.8.257 → 1.8.258

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.8.257",
3
+ "version": "1.8.258",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -822,7 +822,11 @@ export default {
822
822
  this.registerMap.push(this)
823
823
  }
824
824
  // 将原始数据备份保存
825
- this.dataCache = JSON.parse(JSON.stringify(this.config.data))
825
+ if (this.configData) {
826
+ this.dataCache = JSON.parse(JSON.stringify(this.configData))
827
+ } else {
828
+ this.dataCache = JSON.parse(JSON.stringify(this.config.data))
829
+ }
826
830
  }
827
831
  }
828
832
  </script>
@@ -239,7 +239,7 @@
239
239
  </template>
240
240
  <template v-else-if="cell.type === 'images'">
241
241
  <div>
242
- <template v-if="configData.images[cell.dataIndex].length > 0">
242
+ <template v-if="configData.images[cell.dataIndex]?.length > 0">
243
243
  <upload
244
244
  :model="uploadParams"
245
245
  service-name="af-system"