现在被迫这样写:
const state = reactive({
time_type:'day',
update_type:'auto',
day_frequency:1,
month_frequency:1,
date_selected:default7Days(),
month_selected:defaultMonth(),
indicator_list_initial:SHOP_INDICATOR,
})
const {time_type, update_type, day_frequency, month_frequency, date_selected, month_selected, indicator_list_initial} = toRefs(state)
在
reactive
里再包一层?e.g.