修改组件中store的调用方式

This commit is contained in:
wzy-warehouse
2026-05-07 13:59:14 +08:00
parent ce6200389c
commit 4b55283ff6
32 changed files with 299 additions and 303 deletions
+2 -2
View File
@@ -22,7 +22,7 @@
// 点处理钩子
const pointsHandle = usePointsHandle();
const useLoadingResource = useLoadingResourceStore();
const loadingResourceStore = useLoadingResourceStore();
onMounted(() => {
// 加载点
@@ -35,7 +35,7 @@
);
// 记录id
useLoadingResource.addLoadingResource(props.loadingResourceField!, result);
loadingResourceStore.addLoadingResource(props.loadingResourceField!, result);
});
</script>