Przeglądaj źródła

Merge branch 'develop/0.0.2(样式修改)' into test

DESKTOP-SVI9JE1\muzen 1 rok temu
rodzic
commit
b2a4fa1801
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/hooks/index.js

+ 1 - 1
src/hooks/index.js

@@ -98,7 +98,7 @@ export function useStoreSelect(type) {
         if (
           type &&
           res.data.length > 1 &&
-          useUserStore().storeIds.length !== 0
+          useUserStore().storeIds.length === 0
         ) {
           storeData.options.unshift({
             id: 0,