MrShi
2024-02-05 5019ed6016b47221321bf395cd102dc4b51b4724
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)