MrShi
2024-01-29 bb0474b0368c0520f0ac12674eb8a5c2ca942170
platform/src/components/common/MenuSelect.vue
@@ -31,6 +31,10 @@
    appendToBody: {
      default: false
    },
    type: {
      type: String|Number,
      default: 0
    },
    // 需被排除的部门ID
    excludeId: {}
  },
@@ -47,7 +51,7 @@
  methods: {
    // 获取所有菜单
    fetchData () {
      fetchTree()
      fetchTree({}, this.type)
        .then(records => {
          this.data = []
          this.__fillData(this.data, records)