wujingjing
2025-01-15 0647fd26414fc8a3ab077d355f50da6e3e36ad63
src/components/chat/chatComponents/summaryCom/components/recordSet/components/List.vue
@@ -35,7 +35,8 @@
   }
};
const selectList = getSelectList(props.data.origin.step_value);
const selectList = getSelectList(props.data?.origin?.step_value);
// const fontSize = ref('14px');
const emit = defineEmits(['change']);
const SELECT_OFFSET = 47;
@@ -44,7 +45,7 @@
      // 以最大字长为宽度
      const widthList = props.data.list.map((item) =>
         getTextWidth(item.title, {
            size: fontSize.value,
            size:'14px',
         })
      );
      const maxWidth = Math.max(...widthList);
@@ -55,7 +56,6 @@
   }
});
const fontSize = ref('14px');
const selectValue = defineModel({
   type: String,
});
@@ -66,6 +66,6 @@
</script>
<style scoped lang="scss">
:deep(.el-input) {
   font-size: v-bind(fontSize);
   font-size: 14px;
}
</style>