|
@@ -55,7 +55,7 @@
|
|
|
</el-select>
|
|
|
</template>
|
|
|
<script setup lang="ts">
|
|
|
-import { computed, nextTick, reactive, ref, watch } from "vue";
|
|
|
+import { computed, nextTick, onMounted, reactive, ref, watch } from "vue";
|
|
|
import { hotSpotSearch, hotSpotType } from '@/api/business/order';
|
|
|
import { removeDuplicate } from '@/utils/arrayOperation';
|
|
|
import { treeEventClass, treeEventClassSearch } from '@/api/auxiliary/eventClass';
|
|
@@ -137,6 +137,7 @@ const loading = ref(false);
|
|
|
const treeRef = ref<RefType>();
|
|
|
const loadNode = async (node: any, resolve: any) => {
|
|
|
if (node.isLeaf) return resolve([]);
|
|
|
+ await nextTick();
|
|
|
const { showCheckbox, modelValue } = props;
|
|
|
try {
|
|
|
loading.value = true;
|