eoss-ui 0.6.50 → 0.6.51

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.6.50",
3
+ "version": "0.6.51",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -1140,6 +1140,29 @@ export default {
1140
1140
  },
1141
1141
  deep:true,
1142
1142
  immediate: true
1143
+ },
1144
+ defaultProcessKey:{
1145
+ handler(val) {
1146
+ if(this.nodeInfo.option){
1147
+ this.nodeInfo.nextNode = this.nodeInfo.option.filter(
1148
+ (item) => item.processDefKey == val
1149
+ );
1150
+ if (this.nodeInfo.nextNode.length) {
1151
+ this.nodeInfo.nextNode = this.nodeInfo.nextNode[0].processDefId;
1152
+ } else {
1153
+ if ( this.nodeInfo.option.length != 0) {
1154
+ this.nodeInfo.nextNode = this.nodeInfo.option[0].processDefId;
1155
+ } else {
1156
+ this.nodeInfo.nextNode = '';
1157
+ }
1158
+ }
1159
+ if (this.nodeInfo.nextNode) {
1160
+ this.handleChange(this.nodeInfo.nextNode);
1161
+ }
1162
+ }
1163
+ },
1164
+ deep:true,
1165
+ immediate: true
1143
1166
  }
1144
1167
  },
1145
1168
  computed: {
package/src/index.js CHANGED
@@ -123,7 +123,7 @@ if (typeof window !== 'undefined' && window.Vue) {
123
123
  }
124
124
 
125
125
  export default {
126
- version: '0.6.50',
126
+ version: '0.6.51',
127
127
  install,
128
128
  Button,
129
129
  ButtonGroup,