vue2-client 1.13.11 → 1.13.13

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.13.11",
3
+ "version": "1.13.13",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -162,6 +162,8 @@ export default {
162
162
  }
163
163
  }
164
164
  },
165
+ // 初始化 保存后 加载文件后
166
+ emits: ['init', 'saveafter', 'afterLoadFile'],
165
167
  methods: {
166
168
  runLogic,
167
169
  async initDiagnosisAutocomplete (dropDownBoxParams) {
@@ -363,6 +365,7 @@ export default {
363
365
  runLogic(this.saveDataLogicName, data, this.serviceName).then(res => {
364
366
  this.$message.success('保存成功')
365
367
  this.changeRes(res.currResData.id)
368
+ this.$emit('saveafter', data.dataObject)
366
369
  }).finally(() => {
367
370
  this.resDataModalVisible = false
368
371
  })