fix 新增物品弹窗 bug
This commit is contained in:
parent
00d4302df0
commit
78c5882961
@ -417,7 +417,14 @@ export default {
|
||||
openModal(isNew, data) {
|
||||
if (isNew) {
|
||||
this.isNew = true
|
||||
this.modalForm = JSON.parse(JSON.stringify(this.modalForm))
|
||||
this.modalForm = {
|
||||
codes: [],
|
||||
used_codes: [],
|
||||
gift_id: '',
|
||||
gift_name: '',
|
||||
gift_url: '',
|
||||
game_id: this.gameInfo.game_id,
|
||||
}
|
||||
this.codesStr = ''
|
||||
this.usedCodesStr = ''
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user