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