Commit ff2b0e87 authored by leiqingsong's avatar leiqingsong

测试能不能通

parent c93f3b2c
......@@ -3,8 +3,12 @@ import jsBridge from "./bridge";
// 获取Token
export function getAuthToken() {
console.log("去调用");
return new Promise((resolve, reject) => {
console.log("调用1");
jsBridge.callhandler("getAuthToken", null, data => {
console.log("调用2");
console.log(data);
if (data) {
alert("获取到的token" + data);
resolve();
......
......@@ -38,6 +38,9 @@ export default {
}
}
});
this.routes.forEach(item => {
console.log(item.meta.title + "http://8.131.244.76:81/front" + item.path);
})
},
methods: {
to(path) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment