功能:完善门店能力与用户安全配置

This commit is contained in:
xiaowang
2026-05-18 10:04:57 +08:00
parent 4563dd2538
commit 3797938616
356 changed files with 24983 additions and 1858 deletions
@@ -8,6 +8,10 @@
</template>
<script setup lang="ts">
/**
* TableEllipsisText page script.
* Call guide: the template binds the reactive state below, and the methods are triggered by button clicks, lifecycle hooks, or router events.
*/
import { computed } from 'vue'
const props = withDefaults(defineProps<{
@@ -19,6 +23,7 @@ const props = withDefaults(defineProps<{
emptyText: '--'
})
/** displayText is a reactive state variable used by the template and event handlers. */
const displayText = computed(() => {
if (props.text === undefined || props.text === null) {
return ''
@@ -27,6 +32,7 @@ const displayText = computed(() => {
return value
})
/** lineClass is a reactive state variable used by the template and event handlers. */
const lineClass = computed(() => {
return props.lines > 1 ? `lines-${props.lines}` : ''
})