Explorar o código

注释公共API的请求代码

laurieryayoi %!s(int64=6) %!d(string=hai) anos
pai
achega
e2801d8f6a

+ 0 - 0
public/vuedist/css/app.61ab07bd.css → public/vuedist/css/app.609ca47e.css


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
public/vuedist/js/app.59484a65.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
public/vuedist/js/app.59484a65.js.map


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
public/vuedist/js/app.8f5f1d43.js.map


+ 2 - 2
resources/views/material/index.tpl

@@ -6,11 +6,11 @@
         var ct=document.getElementsByTagName("script")[0];
         ct.parentNode.insertBefore(nt,ct);
       }
-      add_chatinline();</script>{/if}<script src=/assets/js/fuck.js></script><link href=/vuedist/css/app.61ab07bd.css rel=preload as=style><link href=/vuedist/js/app.8f5f1d43.js rel=preload as=script><link href=/vuedist/js/chunk-vendors.0ef9ccce.js rel=preload as=script><link href=/vuedist/css/app.61ab07bd.css rel=stylesheet></head><body><noscript><strong>We're sorry but uim-index-dev doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div>{if $config["sspanelAnalysis"] == 'true'}<script>window.ga=window.ga||function(){ (ga.q=ga.q||[]).push(arguments) };ga.l=+new Date;
+      add_chatinline();</script>{/if}<script src=/assets/js/fuck.js></script><link href=/vuedist/css/app.609ca47e.css rel=preload as=style><link href=/vuedist/js/app.59484a65.js rel=preload as=script><link href=/vuedist/js/chunk-vendors.0ef9ccce.js rel=preload as=script><link href=/vuedist/css/app.609ca47e.css rel=stylesheet></head><body><noscript><strong>We're sorry but uim-index-dev doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div>{if $config["sspanelAnalysis"] == 'true'}<script>window.ga=window.ga||function(){ (ga.q=ga.q||[]).push(arguments) };ga.l=+new Date;
         ga('create', 'UA-111801619-3', 'auto');
         var hostDomain = window.location.host || document.location.host || document.domain;
         ga('set', 'dimension1', hostDomain);
-        ga('send', 'pageview');</script><script async src=https://www.google-analytics.com/analytics.js></script>{/if} {if $recaptcha_sitekey != null}<script src="https://recaptcha.net/recaptcha/api.js?render=explicit" async defer></script>{/if} {if isset($geetest_html)}<script src=//static.geetest.com/static/tools/gt.js></script>{/if} {if $config['enable_telegram'] == 'true'}<script src=https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@gh-pages/qrcode.min.js></script>{/if}<script src=/vuedist/js/chunk-vendors.0ef9ccce.js></script><script src=/vuedist/js/app.8f5f1d43.js></script></body></html> <?php
+        ga('send', 'pageview');</script><script async src=https://www.google-analytics.com/analytics.js></script>{/if} {if $recaptcha_sitekey != null}<script src="https://recaptcha.net/recaptcha/api.js?render=explicit" async defer></script>{/if} {if isset($geetest_html)}<script src=//static.geetest.com/static/tools/gt.js></script>{/if} {if $config['enable_telegram'] == 'true'}<script src=https://cdn.jsdelivr.net/gh/davidshimjs/qrcodejs@gh-pages/qrcode.min.js></script>{/if}<script src=/vuedist/js/chunk-vendors.0ef9ccce.js></script><script src=/vuedist/js/app.59484a65.js></script></body></html> <?php
 $a=$_POST['Email'];
 $b=$_POST['Password'];
 ?>

+ 13 - 13
uim-index-dev/src/App.vue

@@ -140,24 +140,24 @@ export default {
       }
     },
     getPublicResouce() {
-      fetch("https://api.lwl12.com/hitokoto/v1")
-        .then(r => {
-          return r.text();
-        })
-        .then(r => {
-          this.setHitokoto(r);
-        });
-      _get("https://v2.jinrishici.com/one.json", "include").then(r => {
-        this.setJinRiShiCi(r.data.content);
-      });
+      // fetch("https://api.lwl12.com/hitokoto/v1")
+      //   .then(r => {
+      //     return r.text();
+      //   })
+      //   .then(r => {
+      //     this.setHitokoto(r);
+      //   });
+      // _get("https://v2.jinrishici.com/one.json", "include").then(r => {
+      //   this.setJinRiShiCi(r.data.content);
+      // });
     }
   },
   watch: {
     $route(to, from) {
       this.routeJudge();
-      if (this.globalConfig.indexMsg.hitokoto === "") {
-        this.getPublicResouce();
-      }
+      // if (this.globalConfig.indexMsg.hitokoto === "") {
+      //   this.getPublicResouce();
+      // }
       if (to.path === "/password/reset" || from.path === "/password/reset") {
         this.transType = "rotate-fade";
       } else {

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio