bill 8 ماه پیش
والد
کامیت
8bcdf3d4e9
2فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 1
      src/store/group.ts
  2. 0 1
      src/views/tagging/index.vue

+ 1 - 1
src/store/group.ts

@@ -13,7 +13,7 @@ export const groupProxy = <T extends object>(
       get(_, key) {
         const group = getter();
         const res = group.filter(item => !!item).map((item: any) => item[key]) as any[];
-        if (!res.length || typeof res[0] !== "function") {
+        if (res.length && typeof res[0] !== "function") {
           return res;
         }
 

+ 0 - 1
src/views/tagging/index.vue

@@ -128,7 +128,6 @@ const selectTagging = ref<Tagging | null>(null);
 useViewStack(() => {
   const stopAuth = autoSaveTaggings();
   const stop = watchEffect((onCleanup) => {
-    console.log(taggingsGroup, taggingsGroup.changeCanMove);
     taggingsGroup.changeCanMove(true);
     taggingsGroup.showDelete(true);
     onCleanup(() => {