修改显示
parent
463c9c745c
commit
1dc2d844f4
|
|
@ -63,7 +63,7 @@ const props = defineProps({
|
|||
value: {
|
||||
type: Object,
|
||||
default: () => ({}),
|
||||
},
|
||||
}
|
||||
});
|
||||
// 初始化表单数据
|
||||
const init_form = reactive({
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue