remove showOn attr for EmptyTips
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div v-show="showOn" class="tui-empty-tips gray" v-text="content"></div>
|
<div class="tui-empty-tips gray" v-text="content"></div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
@ -9,10 +9,8 @@ defineOptions({
|
|||||||
});
|
});
|
||||||
|
|
||||||
withDefaults(defineProps<{
|
withDefaults(defineProps<{
|
||||||
showOn: boolean;
|
|
||||||
content?: string,
|
content?: string,
|
||||||
}>(), {
|
}>(), {
|
||||||
showOn: true,
|
|
||||||
content: "没有更多数据"
|
content: "没有更多数据"
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user