n20-common-lib 2.10.22 → 2.10.24

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": "n20-common-lib",
3
- "version": "2.10.22",
3
+ "version": "2.10.24",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -84,15 +84,15 @@ export default {
84
84
  async getHandlingAdvice(typeCode) {
85
85
  const { data, code } = await this.$axios.post(`/bems/activiti/admin/todo/isFlowStartWithOptions`, { typeCode })
86
86
  if (code === 200) {
87
- this.visible = data.whether ?? false
88
87
  this.otherAttDataA = data.customizationList || []
88
+ this.visible = data.whether === true || this.otherAttDataA.length > 0
89
89
  this.flowOptions = data?.opinions?.map((d) => {
90
90
  return {
91
91
  label: d,
92
92
  value: d
93
93
  }
94
94
  })
95
- if (!data.whether && this.afterGetConf) {
95
+ if (!data.whether && this.afterGetConf && this.otherAttDataA.length === 0) {
96
96
  this.afterGetConf()
97
97
  }
98
98
  }