yc-ui2 0.1.2-beta23 → 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-beta23",
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
@@ -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
  }