yc-ui2 0.1.2-beta22 → 0.1.2-beta24

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.2-beta22",
3
+ "version": "0.1.2-beta24",
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号为您服务】"
@@ -27,7 +27,7 @@
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
32
  YcCA: () => import("comp/YcCA"),
33
33
  },
@@ -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
  }
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file