用了vux中的 group x-input 组件 做的表单 改如何提交?

用了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')
      })
    }

这样写 页面跳转不了 应该怎么写呢? 希望有大神解答

阅读 6.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题