yc-ui2 0.1.2-beta21 → 0.1.2-beta22
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/App.vue +8 -19
- package/src/assets/images/ca/ca-bg.png +0 -0
- package/src/assets/images/ca/ca-download.png +0 -0
- package/src/assets/images/ca/caBg.png +0 -0
- package/src/assets/images/ca/login-btn-bg.png +0 -0
- package/src/assets/images/ca/password.jpg +0 -0
- package/src/assets/images/ca/password.png +0 -0
- package/src/assets/images/ca/refresh.png +0 -0
package/README.md
CHANGED
@@ -114,7 +114,7 @@ const whiteList = ['/login', '......', '/question']
|
|
114
114
|
<YcQuestion
|
115
115
|
title="小优客服"
|
116
116
|
commit="小优为您提供24小时服务"
|
117
|
-
:json="JSON.stringify(require('@/assets/
|
117
|
+
:json="JSON.stringify(require('@/assets/questions.js').default)"
|
118
118
|
></YcQuestion>
|
119
119
|
</template>
|
120
120
|
```
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
<template>
|
2
2
|
<div id="yc-ui2">
|
3
|
-
|
3
|
+
<YcSlideVerify />
|
4
4
|
<router-view></router-view>
|
5
5
|
<YcCustomerService
|
6
6
|
title="小优客服【38号为您服务】"
|
@@ -27,7 +27,7 @@
|
|
27
27
|
export default {
|
28
28
|
name: "App",
|
29
29
|
components: {
|
30
|
-
|
30
|
+
YcSlideVerify: () => import("comp/YcSlideVerify"),
|
31
31
|
YcCustomerService: () => import("comp/YcCustomerService"),
|
32
32
|
YcCA: () => import("comp/YcCA"),
|
33
33
|
},
|
@@ -46,23 +46,12 @@ export default {
|
|
46
46
|
},
|
47
47
|
methods: {
|
48
48
|
login(value, back) {
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
// .catch(() => {
|
56
|
-
// this.loading = false
|
57
|
-
// })
|
58
|
-
// this.$store
|
59
|
-
// .dispatch("CALogin", this.loginForm)
|
60
|
-
// .then(() => {
|
61
|
-
// this.$router.push({ path: this.redirect || "/" }).catch(() => {})
|
62
|
-
// })
|
63
|
-
// .catch(() => {
|
64
|
-
// this.loading = false
|
65
|
-
// })
|
49
|
+
this.$store
|
50
|
+
.dispatch("CALogin", value)
|
51
|
+
.then(() => {
|
52
|
+
this.$router.push({ path: this.redirect || "/" }).catch(() => {})
|
53
|
+
})
|
54
|
+
.finally(() => back(value))
|
66
55
|
},
|
67
56
|
},
|
68
57
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|