We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21fa66e + 3a3d898 commit d1a3e0cCopy full SHA for d1a3e0c
1 file changed
src/views/theme/includes/CustomSetting.vue
@@ -260,7 +260,7 @@ export default class ThemeCustomSetting extends Vue {
260
this.$set(this.form, key, this.site.themeCustomConfig[key])
261
})
262
this.currentThemeConfig.forEach((item: any) => {
263
- if (!this.form[item.name]) {
+ if (this.form[item.name] === undefined) {
264
this.$set(this.form, item.name, item.value)
265
}
266
0 commit comments