提交 59915c1a authored 作者: 王鹏飞's avatar 王鹏飞

chore: fix refactor bug

上级 680a70eb
......@@ -40,7 +40,7 @@ export default function (_this) {
}
},
form: {
triggerSubmitOnChangeStep: true,
submitText: '下一步',
options: { labelWidth: '140px' },
items: [
{
......
......@@ -85,6 +85,7 @@ export default {
// 更新报名信息
handleUpdate(data) {
api.updateApplication(data).then(res => {
if (this.tabActive === 'application_info_first') this.tabActive = 'application_info_profile'
this.detail = res.data
this.$message.success('保存成功')
})
......@@ -117,6 +118,7 @@ export default {
},
handleSuccess(data) {
console.log('提交成功了', data)
if (this.tabActive === 'application_info_first') this.tabActive = 'application_info_profile'
this.$message({ type: 'success', message: '提交成功' })
},
handleError(data) {
......
......@@ -8,7 +8,7 @@
"name": "project-pc",
"version": "1.0.0",
"dependencies": {
"@ezijing/vue-form": "^2.5.16",
"@ezijing/vue-form": "^2.5.31",
"axios": "^0.21.1",
"cookie-universal-nuxt": "^2.1.4",
"core-js": "^3.36.0",
......@@ -2611,12 +2611,12 @@
}
},
"node_modules/@ezijing/vue-form": {
"version": "2.5.16",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.5.16.tgz",
"integrity": "sha512-do+2SXczOXSX0nkzv12M0G7C/rpZclkTDDvz+mAPgTGNZxwavx8bedOGEep1+wLJg/9zXk4Q2en/TpgJkWe/kA==",
"version": "2.5.31",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.5.31.tgz",
"integrity": "sha512-8B3zYV+7+qTk+lwhfOqfqZCZEJ620NTJcpmqEFjI9tvxBscA2eW+qhzRARNGdxoFswXVQ8cJg1TBsiiBosYijw==",
"dependencies": {
"axios": "^1.6.7",
"element-ui": "^2.15.14",
"element-ui": "2.15.14",
"vue": "^2.7.16"
}
},
......@@ -17558,12 +17558,12 @@
"integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw=="
},
"@ezijing/vue-form": {
"version": "2.5.16",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.5.16.tgz",
"integrity": "sha512-do+2SXczOXSX0nkzv12M0G7C/rpZclkTDDvz+mAPgTGNZxwavx8bedOGEep1+wLJg/9zXk4Q2en/TpgJkWe/kA==",
"version": "2.5.31",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.5.31.tgz",
"integrity": "sha512-8B3zYV+7+qTk+lwhfOqfqZCZEJ620NTJcpmqEFjI9tvxBscA2eW+qhzRARNGdxoFswXVQ8cJg1TBsiiBosYijw==",
"requires": {
"axios": "^1.6.7",
"element-ui": "^2.15.14",
"element-ui": "2.15.14",
"vue": "^2.7.16"
},
"dependencies": {
......@@ -10,7 +10,7 @@
"generate": "nuxt generate"
},
"dependencies": {
"@ezijing/vue-form": "^2.5.16",
"@ezijing/vue-form": "^2.5.31",
"axios": "^0.21.1",
"cookie-universal-nuxt": "^2.1.4",
"core-js": "^3.36.0",
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论