禁止之后也访问

This commit is contained in:
2020-11-24 10:56:51 +08:00
parent a861bc5232
commit 388a5df6b0
4 changed files with 61 additions and 5 deletions

View File

@@ -110,6 +110,9 @@ export default createStore({
}
},
setquhao(state, data){
state.qh = data.qh.data;
},
setWlan(state){
const lan = getValue("Lanvuage");
if(lan != null && lan){
@@ -134,6 +137,11 @@ export default createStore({
const info = await getaddr();
console.log(info,11256445);
commit("setLanguage", info)
},
async getcode({ commit }){
const info = await getaddr();
console.log(info,11256445);
commit("setquhao", info)
}
},
modules: {