hookehuyr

fix 分割线组件显示属性判断

......@@ -6,7 +6,7 @@
* @Description: 分隔线组件
-->
<template>
<div class="divider-field-page">
<div v-if="HideShow" class="divider-field-page">
<div v-if="item.component_props.style === 'type1'" class="type1">
<div v-if="!item.component_props.hide_label" :style="{ color: item.component_props.label_color, lineHeight: 1.2, marginBottom: '0.25rem' }">{{ item.component_props.label }}</div>
</div>
......@@ -103,6 +103,11 @@ const props = defineProps({
item: Object,
});
// 隐藏显示
const HideShow = computed(() => {
return !props.item.component_props.disabled
})
onMounted(() => {
});
</script>
......