export function useCustomStoreWithOut() {
return useCustomStore(store);
}
引入
import { useCustomStoreWithOut as useCustomStore } from '@src/store/modules/custom';
// 正常使用
export function useCustomStoreWithOut() {
return useCustomStore(store);
}
引入
import { useCustomStoreWithOut as useCustomStore } from '@src/store/modules/custom';
// 正常使用