lshcom 1.0.14 → 1.0.16

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": "lshcom",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
4
4
  "files": [
5
5
  "src/assets/*",
6
6
  "src/common/*",
@@ -69,8 +69,11 @@
69
69
  this.selectValue = val
70
70
  },
71
71
  options: function (val, oldVal) {
72
- this.selectOptions = JSON.parse(JSON.stringify(val))
73
- this.unshiftAll()
72
+ this.selectOptions = []
73
+ this.$nextTick(() => {
74
+ this.selectOptions = JSON.parse(JSON.stringify(val))
75
+ this.unshiftAll()
76
+ });
74
77
  },
75
78
  },
76
79
  computed: {
@@ -152,6 +152,12 @@
152
152
  if([res.data.errorcode,res.data.errorCode].includes("importBasisDistribuRelations")){
153
153
  this.$emit('importsClosure', obj[0]);
154
154
  if(this.uploadDialogFlag) this.$refs.EleDialog.visible = false
155
+ if(status == '3'){
156
+ this.downloadErrorInfo = {
157
+ downloadErrorUrl: obj[0].errorFilePath,
158
+ downloadErrorFileName: obj[0].errorFileName
159
+ };
160
+ }
155
161
  return
156
162
  }
157
163