mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 05:57:32 -07:00
fix(client): プラグインの設定がnullになることがある問題を修正
This commit is contained in:
parent
46a97c81d9
commit
fc86df0f62
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ export default Vue.extend({
|
|||
|
||||
created() {
|
||||
for (const item in this.form) {
|
||||
Vue.set(this.values, item, this.form[item].default || null);
|
||||
Vue.set(this.values, item, this.form[item].hasOwnProperty('default') ? this.form[item].default : null);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue