Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-11-14 18:30:03 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ba830fa49013674844e55a4f2c32cd72ba938f9a
ba830fa4
1 parent
c78773bc
fix 分割线组件显示属性判断
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
src/components/DividerField/index.vue
src/components/DividerField/index.vue
View file @
ba830fa
...
...
@@ -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>
...
...
Please
register
or
login
to post a comment