1
Showing
3 changed files
with
11 additions
and
6 deletions
public/js/unionrsa.js
0 → 100644
This diff is collapsed.
Click to expand it.
... | @@ -11,10 +11,7 @@ function Toast(msg) { | ... | @@ -11,10 +11,7 @@ function Toast(msg) { |
11 | // axios.defaults.baseURL = "" | 11 | // axios.defaults.baseURL = "" |
12 | 12 | ||
13 | // 服务器地址 | 13 | // 服务器地址 |
14 | let base = "https://ow.go.qudone.com"; | 14 | let base = "http://localhost:9101"; |
15 | if (location.href.indexOf("//k.wxpai.cn") > 0) { | ||
16 | base = "https://api.k.wxpai.cn/bizproxy" | ||
17 | } | ||
18 | // let base = COM.baseUrl; | 15 | // let base = COM.baseUrl; |
19 | 16 | ||
20 | // 请求拦截器 | 17 | // 请求拦截器 | ... | ... |
... | @@ -8,7 +8,11 @@ export default { | ... | @@ -8,7 +8,11 @@ export default { |
8 | data() { | 8 | data() { |
9 | return { | 9 | return { |
10 | key: 'value', | 10 | key: 'value', |
11 | type: 1, // 1:帐密登陆 2:OTP登陆 | 11 | type: 1, // 1:帐密登陆 2:OTP登陆, |
12 | values : { | ||
13 | // 返回的token,串连整个流程,后台安全校验使用 | ||
14 | token : "", | ||
15 | } | ||
12 | } | 16 | } |
13 | }, | 17 | }, |
14 | components: {}, | 18 | components: {}, |
... | @@ -43,7 +47,11 @@ export default { | ... | @@ -43,7 +47,11 @@ export default { |
43 | onLoginTypeHandler(val) { | 47 | onLoginTypeHandler(val) { |
44 | this.type = val; | 48 | this.type = val; |
45 | }, | 49 | }, |
46 | initData() {} | 50 | initData() {}, |
51 | // 是否显示图形二维码 | ||
52 | handlerIsShowImageVcode(){ | ||
53 | |||
54 | } | ||
47 | }, | 55 | }, |
48 | mounted() {}, | 56 | mounted() {}, |
49 | created() {} | 57 | created() {} | ... | ... |
-
Please register or sign in to post a comment