shaogen1995 před 2 roky
rodič
revize
fe25facd19

+ 2 - 0
miniProgram/utils/http.js

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

binární
web/public/program/Build/Build13.data.unityweb


binární
web/public/program/Build/Build13.framework.js.unityweb


binární
web/public/program/Build/Build13.wasm.unityweb


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

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

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

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

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

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