mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-25 06:19:51 +00:00
[Update] 修改通过创建更新页面
This commit is contained in:
@@ -120,7 +120,7 @@ export default {
|
||||
async mounted() {
|
||||
this.loading = true
|
||||
try {
|
||||
this.form = await this.getFormValues()
|
||||
this.form = await this.getFormValue()
|
||||
} finally {
|
||||
this.loading = false
|
||||
}
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
async getFormValues() {
|
||||
async getFormValue() {
|
||||
if (this.method !== 'put') {
|
||||
return Object.assign(this.form, this.initial)
|
||||
}
|
||||
|
Reference in New Issue
Block a user