eoss-ui 0.4.30 → 0.4.31

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": "eoss-ui",
3
- "version": "0.4.30",
3
+ "version": "0.4.31",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -1098,7 +1098,7 @@ export default {
1098
1098
  .ajax({ url: tempSave, params })
1099
1099
  .then((res) => {
1100
1100
  const { status, message } = res;
1101
- this.loading.close();
1101
+ if(!isSave) this.loading.close();
1102
1102
  if (status == 'success') {
1103
1103
  // this.$message.success('暂存成功');
1104
1104
  !isSave && this.$emit('save', this.businessIds);
@@ -1107,7 +1107,7 @@ export default {
1107
1107
  }
1108
1108
  })
1109
1109
  .catch((err) => {
1110
- this.loading.close();
1110
+ if(!isSave) this.loading.close();
1111
1111
  if (err.message && err.message !== 'canceled') {
1112
1112
  this.$message.error(err.message);
1113
1113
  }
@@ -1973,6 +1973,9 @@ export default {
1973
1973
  }
1974
1974
  }
1975
1975
  });
1976
+ },
1977
+ validInfo(){
1978
+
1976
1979
  },
1977
1980
  sendData() {
1978
1981
  this.$refs['nextNode'].validate(async (valid) => {
package/src/index.js CHANGED
@@ -115,7 +115,7 @@ if (typeof window !== 'undefined' && window.Vue) {
115
115
  }
116
116
 
117
117
  export default {
118
- version: '0.4.30',
118
+ version: '0.4.31',
119
119
  install,
120
120
  Button,
121
121
  ButtonGroup,