Prechádzať zdrojové kódy

Merge branch 'v1.9.0-jm' of http://192.168.0.115:3000/bill/fuse-code into v1.9.0-jm

xzw 8 mesiacov pred
rodič
commit
db68ee8bed
3 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 0
      src/sdk/sdk.ts
  2. 1 1
      src/store/group.ts
  3. 0 1
      src/views/tagging/index.vue

+ 1 - 0
src/sdk/sdk.ts

@@ -363,6 +363,7 @@ export const initialSDK = async (props: InialSDKProps) => {
 
   console.log(props);
   const localSdk = cover({
+    ...props,
     dom: props.layout,
     isLocal: false,
     scenes: props.scenes,

+ 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(() => {