面授管理的关键字省略号

This commit is contained in:
NiSen
2023-07-05 18:48:40 +08:00
parent c1213bdf62
commit ce5391c1dd

View File

@@ -1734,13 +1734,12 @@ export default defineComponent({
}, },
{ {
title: "关键字", title: "关键字",
width: 130,
dataIndex: "tips", dataIndex: "tips",
key: "tips", key: "tips",
ellipsis: true,
align: "left", align: "left",
customCell :() => {return {style: {maxWidth: '200px',overflow: 'hidden',whiteSpace: 'nowrap',textOverflow:'ellipsis',cursor:'pointer'}}},
customRender: ({ text }) => { customRender: ({ text }) => {
return text ? text : "-"; return <a-tooltip placement="topLeft" title = {text} >{text ? text : "-"}</a-tooltip>
}, },
}, },
{ {
@@ -1915,7 +1914,6 @@ export default defineComponent({
slots: { customRender: "action" }, slots: { customRender: "action" },
}, },
], ],
shipType: 1, shipType: 1,
addLoading: false, addLoading: false,
currentPlanItem: {}, currentPlanItem: {},