MrShi
2024-04-01 32851bc502dd5ef69c3077fd6c206bb4b82d5689
company/src/components/common/MenuSelect.vue
@@ -50,8 +50,8 @@
  methods: {
    // 获取所有菜单
    fetchData () {
      if (this.type === '1') {
        fetchTree1()
      if (this.type == '1' || this.type == '2')  {
        fetchTree1(this.type)
          .then(records => {
            this.data = []
            this.__fillData(this.data, records)