全局列表字段不换行

This commit is contained in:
zhuangdashia 2025-07-01 00:22:00 +08:00
parent 8bab982a7b
commit b53b63532e

View File

@ -58,4 +58,13 @@ const watermarkProps = computed<WatermarkProps>(() => {
</NConfigProvider> </NConfigProvider>
</template> </template>
<style scoped></style> <style >
/* 强制所有表格单元格不换行 */
.n-data-table td {
white-space: nowrap !important;
overflow: hidden !important;
text-overflow: ellipsis !important;
}
</style>