aaa
nidapeng
2024-03-14 8b46c471e28fbf0b71efbe363facf0bf05d8f6f8
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)