openatc-components 0.3.102 → 0.3.104

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.
@@ -631,11 +631,9 @@ export default {
631
631
  this.$message.error(msg)
632
632
  return
633
633
  }
634
- if (res.data.data.length > 0) {
635
- this.funcSort = 'thirdPartyFunc'
636
- this.thirdPartyControlMenu = getPermissionMenu(res.data.data)
637
- this.thirdPartyControl = getPermissionControl(res.data.data)
638
- }
634
+ this.funcSort = 'thirdPartyFunc'
635
+ this.thirdPartyControlMenu = getPermissionMenu(res.data.data)
636
+ this.thirdPartyControl = getPermissionControl(res.data.data)
639
637
  })
640
638
  },
641
639
  handleGetData (data) {
@@ -184,7 +184,7 @@
184
184
  </div>
185
185
  </el-tab-pane>
186
186
  <el-tab-pane :label="$t('openatccomponents.overview.others')" name="others"
187
- v-if="(funcSort === 'allFunc' || (funcSort === 'thirdPartyFunc'&& thirdPartyControlMenu.indexOf('其他') !== -1))">>
187
+ v-if="(funcSort === 'allFunc' || (funcSort === 'thirdPartyFunc'&& thirdPartyControlMenu.indexOf('其他') !== -1))">
188
188
  <ControlModelGroup
189
189
  v-if="activeName === 'others' && funcSort === 'allFunc'"
190
190
  ref="ControlModelGroup"
@@ -51,6 +51,7 @@ export function getPermissionMenu (permissionList) {
51
51
  }
52
52
  }
53
53
  console.log(thirdPartyControlMenu)
54
+ debugger
54
55
  return thirdPartyControlMenu
55
56
  }
56
57