修改显示

v1.0.0
于肖磊 2024-08-28 17:07:41 +08:00
parent 463c9c745c
commit 1dc2d844f4
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ const props = defineProps({
value: {
type: Object,
default: () => ({}),
},
}
});
//
const init_form = reactive({

View File

@ -118,7 +118,7 @@ const default_config = {
};
const change_theme = (val: string) => {
if (val) {
form.value.style = (<arrayIndex>default_config.style)[`theme_${Number(val) + 1}`];
form.value.style = Object.assign({}, form.value.style, (<arrayIndex>default_config.style)[`theme_${Number(val) + 1}`]);
}
};
</script>