bianjiang 10 months ago
parent
commit
7fce56e016
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/modules/resource/controllers/PromotionController.ts

+ 3 - 2
src/modules/resource/controllers/PromotionController.ts

@@ -19,8 +19,9 @@ export class PromotionController {
     //   return;
     //   return;
     // }
     // }
 
 
-    const url = `${location.origin}${getPathname()}editor.html#/?host=${host}&id=${item._id}`;
-    debugger
+    const url = `${
+      location.origin
+    }${getPathname()}editor.html#/?host=${host}&id=${item._id}`;
     location.href = url;
     location.href = url;
   }
   }
   onPreview(item: any) {
   onPreview(item: any) {