1
0
Fork 1
mirror of https://example.com synced 2024-11-23 12:46:38 +09:00

fix(client): プラグインの設定がnullになることがある問題を修正

This commit is contained in:
syuilo 2020-07-30 00:58:01 +09:00
parent 57203de4cb
commit 01e9b3c2f6

View file

@ -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);
}
},