mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-16 16:50:54 +08:00
修复模版
This commit is contained in:
parent
8fb9297145
commit
3a70bf8e43
@ -161,9 +161,11 @@ export default {
|
||||
row.disable = disable
|
||||
},
|
||||
resetTemp() {
|
||||
this.headerList.forEach((item) => {
|
||||
this.temp[item.columnName] = defaultVal(item.entityType)
|
||||
let obj = {};
|
||||
this.headerList.forEach((item) => {
|
||||
obj[item.columnName] = defaultVal(item.entityType)
|
||||
})
|
||||
this.temp =Object.assign({}, obj) // copy obj
|
||||
},
|
||||
handleCreate() {
|
||||
// 弹出添加框
|
||||
|
@ -162,9 +162,11 @@ export default {
|
||||
row.disable = disable
|
||||
},
|
||||
resetTemp() {
|
||||
this.headerList.forEach((item) => {
|
||||
this.temp[item.columnName] = defaultVal(item.entityType)
|
||||
let obj = {};
|
||||
this.headerList.forEach((item) => {
|
||||
obj[item.columnName] = defaultVal(item.entityType)
|
||||
})
|
||||
this.temp =Object.assign({}, obj) // copy obj
|
||||
},
|
||||
handleCreate() {
|
||||
// 弹出添加框
|
||||
|
Loading…
Reference in New Issue
Block a user