Commit 9de37e9e by Jaxon

feat: ui 细节调优

1 parent 1b0fb042
...@@ -15,12 +15,13 @@ export async function getTaskCenterTaskDescriptionSchema() { ...@@ -15,12 +15,13 @@ export async function getTaskCenterTaskDescriptionSchema() {
display: "inline-block", display: "inline-block",
height: "32px", height: "32px",
width: "auto", width: "auto",
maxWidth: "100%",
verticalAlign: "top", verticalAlign: "top",
}, },
}, },
// tooltipProps: el-tooltip 的传参 // tooltipProps: el-tooltip 的传参
render: (h, { data, schemaItem, schema }) => { render: (h, { data, schemaItem, schema }) => {
return h("span", {}, data.description || "-"); return h("div", { class: "text-hide" }, data.description || "-");
}, },
isHide: ({ formModel }) => !formModel.description, isHide: ({ formModel }) => !formModel.description,
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!