修改数据魔方显示问题

v1.0.0
于肖磊 2024-09-19 15:33:20 +08:00
parent ca77a0d8a9
commit cbd0580f2f
1 changed files with 2 additions and 1 deletions

View File

@ -240,11 +240,12 @@ const old_list = ref<any>({});
const data_magic_list = ref<data_magic[]>([]);
watch(props.value.content, (val) => {
const data = cloneDeep(val.data_magic_list);
data.actived_index = 0;
data.forEach((item: data_magic) => {
const data_content = item.data_content;
const data_style = item.data_style;
const key = data_style.carouselKey;
// 0
item.actived_index = 0;
//
data_style.indicator_styles = indicator_style(data_style);
data_style.background_style = background_style(data_style);