111
k94314517
2024-02-05 15e588eb6a7549ecd2aaffb45e67f11e68354eb6
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)