shaogen1995 2 лет назад
Родитель
Сommit
fe25facd19

+ 2 - 0
miniProgram/utils/http.js

@@ -8,6 +8,8 @@ function request(url, options) {
   return new Promise((resolve, reject) => {
     let token = wx.getStorageSync('token')
 
+    console.log('-------------',token);
+
     wx.request(Object.assign({
       url: url.indexOf('://') == -1 ? (BASE_URL + url) : url,
       method: options.method,

BIN
web/public/program/Build/Build13.data.unityweb


BIN
web/public/program/Build/Build13.framework.js.unityweb


BIN
web/public/program/Build/Build13.wasm.unityweb


+ 1 - 1
web/public/program/index copy.html

@@ -170,7 +170,7 @@
           unityInstance.SendMessage('Main', 'CallShareImage');
         }
 
-        
+
         // 点击编辑
         else if (res.data.source === "OnClickEdit") {
           console.log('----------------');

+ 2 - 1
web/public/program/index.html

@@ -103,7 +103,7 @@
       });
     };
     document.body.appendChild(script);
-
+    
 
     // 新添加(以下全是)
     window.onShareImage = (img) => {
@@ -179,6 +179,7 @@
 
       }
     })
+
   </script>
 </body>
 

+ 0 - 1
web/src/views/Editing.vue

@@ -185,7 +185,6 @@ const postMsg = (source, data) => {
 };
 
 onMounted(() => {
-  console.log('pppppppppppppp---------------');
   // 进页面 通信 编辑
   postMsg("OnClickEdit", "");
 });