yc-ui2 0.1.2-beta23 → 0.1.2-beta25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/286.00e562fe.css +1 -0
- package/dist/css/774.de9a931f.css +139 -0
- package/dist/css/94.de9a931f.css +139 -0
- package/dist/yc-ui2.common.94.js +442 -0
- package/dist/yc-ui2.common.94.js.map +1 -0
- package/dist/yc-ui2.common.js +393 -118
- package/dist/yc-ui2.common.js.map +1 -1
- package/dist/yc-ui2.css +1 -1
- package/dist/yc-ui2.umd.774.js +442 -0
- package/dist/yc-ui2.umd.774.js.map +1 -0
- package/dist/yc-ui2.umd.js +393 -118
- package/dist/yc-ui2.umd.js.map +1 -1
- package/dist/yc-ui2.umd.min.286.js +2 -0
- package/dist/yc-ui2.umd.min.286.js.map +1 -0
- package/dist/yc-ui2.umd.min.js +1 -1
- package/dist/yc-ui2.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/App.vue +7 -11
- package/src/main.js +2 -2
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号为您服务】"
|
@@ -19,7 +19,7 @@
|
|
19
19
|
</template>
|
20
20
|
</div>
|
21
21
|
</YcCustomerService>
|
22
|
-
<YcCA :region="region" :caUrl="caUrl" @caSuccess="login" />
|
22
|
+
<!-- <YcCA :region="region" :caUrl="caUrl" @caSuccess="login" /> -->
|
23
23
|
</div>
|
24
24
|
</template>
|
25
25
|
|
@@ -27,9 +27,9 @@
|
|
27
27
|
export default {
|
28
28
|
name: "App",
|
29
29
|
components: {
|
30
|
-
|
30
|
+
YcSlideVerify: () => import("comp/YcSlideVerify"),
|
31
31
|
YcCustomerService: () => import("comp/YcCustomerService"),
|
32
|
-
YcCA: () => import("comp/YcCA"),
|
32
|
+
// YcCA: () => import("comp/YcCA"),
|
33
33
|
},
|
34
34
|
data() {
|
35
35
|
return {
|
@@ -42,16 +42,12 @@ export default {
|
|
42
42
|
this.region = 1
|
43
43
|
this.caUrl =
|
44
44
|
"http://120.25.167.9:9000/website/media/ce861516a25d4671ab01e150790b6111.zip"
|
45
|
-
},
|
45
|
+
}, 1000)
|
46
46
|
},
|
47
47
|
methods: {
|
48
48
|
login(value, back) {
|
49
|
-
|
50
|
-
|
51
|
-
.then(() => {
|
52
|
-
this.$router.push({ path: this.redirect || "/" }).catch(() => {})
|
53
|
-
})
|
54
|
-
.finally(() => back(value))
|
49
|
+
// CA 登录成功回调
|
50
|
+
back(value)
|
55
51
|
},
|
56
52
|
},
|
57
53
|
}
|
package/src/main.js
CHANGED
@@ -2,13 +2,13 @@ import Vue from 'vue'
|
|
2
2
|
import App from './App.vue'
|
3
3
|
import router from './router'
|
4
4
|
|
5
|
-
import SlideVerify from "vue-monoplasty-slide-verify"
|
5
|
+
// import SlideVerify from "vue-monoplasty-slide-verify"
|
6
6
|
import ElementUI from 'element-ui'
|
7
7
|
import 'element-ui/lib/theme-chalk/index.css';
|
8
8
|
|
9
9
|
Vue.config.productionTip = false
|
10
10
|
|
11
|
-
Vue.use(SlideVerify)
|
11
|
+
// Vue.use(SlideVerify)
|
12
12
|
Vue.use(ElementUI)
|
13
13
|
|
14
14
|
new Vue({
|