修改自定义历史数据处理

v1.1.0
于肖磊 2024-11-14 16:48:19 +08:00
parent 4b229b9a0f
commit d561cca47d
1 changed files with 1 additions and 0 deletions

View File

@ -76,6 +76,7 @@ const state = reactive({
const { form, new_style } = toRefs(state);
onBeforeMount(() => {
//
if (!Object.keys(form.value.data_source_content).includes('data_auto_list') && !Object.keys(form.value.data_source_content).includes('data_list')) {
const data = cloneDeep(form.value.data_source_content);
const new_list = cloneDeep(source_list[form.value.data_source as keyof typeof source_list]);