yc-ui2 0.1.2-beta20 → 0.1.2-beta22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. package/README.md +1 -1
  2. package/dist/img/1.8e585a4b.jpg +0 -0
  3. package/dist/img/2.52192bf1.jpg +0 -0
  4. package/dist/img/3.4627edc5.jpg +0 -0
  5. package/dist/img/4.00b9b96d.jpg +0 -0
  6. package/dist/img/5.00adbac5.jpg +0 -0
  7. package/dist/img/6.fec4cf56.jpg +0 -0
  8. package/dist/img/7.2d4c9f56.jpg +0 -0
  9. package/dist/img/8.63e261ca.jpg +0 -0
  10. package/dist/img/chatTop.aa23e4d0.png +0 -0
  11. package/dist/yc-ui2.common.js +227 -48
  12. package/dist/yc-ui2.common.js.map +1 -1
  13. package/dist/yc-ui2.css +1 -1
  14. package/dist/yc-ui2.umd.js +227 -48
  15. package/dist/yc-ui2.umd.js.map +1 -1
  16. package/dist/yc-ui2.umd.min.js +1 -1
  17. package/dist/yc-ui2.umd.min.js.map +1 -1
  18. package/package.json +1 -1
  19. package/src/App.vue +8 -19
  20. package/src/assets/customerService/admin.jpg +0 -0
  21. package/src/assets/customerService/chatTop.png +0 -0
  22. package/src/assets/customerService/ellipticalWenh.png +0 -0
  23. package/src/assets/customerService/enlarge.png +0 -0
  24. package/src/assets/customerService/personal.jpg +0 -0
  25. package/src/assets/customerService/personal1.jpg +0 -0
  26. package/src/assets/customerService/personal2.jpg +0 -0
  27. package/src/assets/slideVerify/1.jpg +0 -0
  28. package/src/assets/slideVerify/2.jpg +0 -0
  29. package/src/assets/slideVerify/3.jpg +0 -0
  30. package/src/assets/slideVerify/4.jpg +0 -0
  31. package/src/assets/slideVerify/5.jpg +0 -0
  32. package/src/assets/slideVerify/6.jpg +0 -0
  33. package/src/assets/slideVerify/7.jpg +0 -0
  34. package/src/assets/slideVerify/8.jpg +0 -0
  35. /package/src/assets/{images/ca → ca}/ca-bg.png +0 -0
  36. /package/src/assets/{images/ca → ca}/ca-download.png +0 -0
  37. /package/src/assets/{images/ca → ca}/caBg.png +0 -0
  38. /package/src/assets/{images/ca → ca}/login-btn-bg.png +0 -0
  39. /package/src/assets/{images/ca → ca}/password.jpg +0 -0
  40. /package/src/assets/{images/ca → ca}/password.png +0 -0
  41. /package/src/assets/{images/ca → ca}/refresh.png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yc-ui2",
3
- "version": "0.1.2-beta20",
3
+ "version": "0.1.2-beta22",
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
  },
@@ -46,23 +46,12 @@ export default {
46
46
  },
47
47
  methods: {
48
48
  login(value, back) {
49
- back(value)
50
- // this.$store
51
- // .dispatch("CALogin", this.loginForm)
52
- // .then(() => {
53
- // this.$router.push({ path: this.redirect || "/" }).catch(() => {})
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
Binary file
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes