shawenguan 2 anos atrás
pai
commit
b4b5e40ccc
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      Scripts/box/chavy.boxjs.js

+ 2 - 0
Scripts/box/chavy.boxjs.js

@@ -174,6 +174,7 @@ async function handlePage() {
           // 返回页面源码, 并马上存储到持久化仓库
           $.html = resp.body
           const cache = { version: $.version, cache: $.html }
+          console.log("$.KEY_web_cache="+$.KEY_web_cache);
           $.setjson(cache, $.KEY_web_cache)
         } else {
           // 如果返回的页面源码不是预期的, 则从持久化仓库中获取
@@ -467,6 +468,7 @@ function getUserCfgs() {
     http_backend: ''
   }
   const usercfgs = Object.assign(defcfgs, $.getjson($.KEY_usercfgs, {}))
+  defcfgs.http_backend = '';
 
   // 处理异常数据:删除所有为 null 的订阅
   if (usercfgs.appsubs.includes(null)) {