diff --git a/index.html b/index.html index b4200fa..1924073 100644 --- a/index.html +++ b/index.html @@ -437,7 +437,8 @@ selectBase64: "", }, mounted() { - axios.defaults.headers.common["Authorization"] = "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc" + // 本地跳转 登录的 + if (["localhost", "127.0.0.1"].includes(location.hostname)) axios.defaults.headers.common["Authorization"] = "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc" this.base01 = base01 this.base02 = base02