用了vux中的 group x-input 组件 做的表单 改如何提交?
LogIn () {
console.log(this.item)
api.send('Api/User/GetCode', this.item).then((response) => {
console.log(1)
this.$vux.toast.show({
text: '登陆成功'
})
console.log(this.$route)
this.$set(this.$route.path, 'component/Selfcenter')
this.$route.path === 'component/Selfcenter'
}, (response) => {
alert('erro')
})
}
这样写 页面跳转不了 应该怎么写呢? 希望有大神解答