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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.2-beta23",
3
+ "version": "0.1.2-beta25",
4
4
  "private": false,
5
5
  "description": "湖南优创UI组件库",
6
6
  "main": "dist/yc-ui2.umd.min.js",
package/src/App.vue CHANGED
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div id="yc-ui2">
3
- <!-- <YcSlideVerify /> -->
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
- // YcSlideVerify: () => import("comp/YcSlideVerify"),
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
- }, 3000)
45
+ }, 1000)
46
46
  },
47
47
  methods: {
48
48
  login(value, back) {
49
- this.$store
50
- .dispatch("CALogin", value)
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({