mirror of https://github.com/certd/certd
🔱: [client] sync upgrade with 4 commits [trident-sync]
perf: 单元格支持tooltip Merge remote-tracking branch 'origin/main' # Conflicts: # src/plugin/antdv-async/index.ts fix: 修复naive-ui下 form-item 的label设置为render会报警告的问题pull/349/head
parent
7bb8e9bdc4
commit
f0b5489e3e
|
@ -234,5 +234,10 @@ export default {
|
||||||
"ATableSummary",
|
"ATableSummary",
|
||||||
defineAsyncComponent(() => import("ant-design-vue/es/vc-table/Footer/Summary"))
|
defineAsyncComponent(() => import("ant-design-vue/es/vc-table/Footer/Summary"))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
app.component(
|
||||||
|
"ASlider",
|
||||||
|
defineAsyncComponent(() => import("ant-design-vue/es/slider/index"))
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
@ -38,7 +38,8 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps<FirstRo
|
||||||
search: { show: true },
|
search: { show: true },
|
||||||
column: {
|
column: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
width: 200
|
width: 200,
|
||||||
|
tooltip: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
|
|
|
@ -51,7 +51,6 @@ const createCrudOptions = async function ({}: CreateCrudOptionsProps): Promise<C
|
||||||
|
|
||||||
return {
|
return {
|
||||||
//自定义变量返回
|
//自定义变量返回
|
||||||
customExport: {},
|
|
||||||
crudOptions: {
|
crudOptions: {
|
||||||
request: {
|
request: {
|
||||||
pageRequest,
|
pageRequest,
|
||||||
|
@ -59,6 +58,15 @@ const createCrudOptions = async function ({}: CreateCrudOptionsProps): Promise<C
|
||||||
editRequest,
|
editRequest,
|
||||||
delRequest
|
delRequest
|
||||||
},
|
},
|
||||||
|
actionbar: {
|
||||||
|
buttons: {
|
||||||
|
add: {
|
||||||
|
tooltip: {
|
||||||
|
title: "tooltip演示"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
columns: {
|
columns: {
|
||||||
name: {
|
name: {
|
||||||
title: "姓名",
|
title: "姓名",
|
||||||
|
@ -66,7 +74,10 @@ const createCrudOptions = async function ({}: CreateCrudOptionsProps): Promise<C
|
||||||
search: { show: true },
|
search: { show: true },
|
||||||
column: {
|
column: {
|
||||||
resizable: true,
|
resizable: true,
|
||||||
width: 200
|
width: 200,
|
||||||
|
tooltip: {
|
||||||
|
title: "tooltip演示"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
type: {
|
type: {
|
||||||
|
|
|
@ -110,7 +110,7 @@ export default function ({ crudExpose }: CreateCrudOptionsProps): CreateCrudOpti
|
||||||
type: "text",
|
type: "text",
|
||||||
column: {
|
column: {
|
||||||
ellipsis: true,
|
ellipsis: true,
|
||||||
showTitle: true
|
tooltip: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
label: '上置'
|
label: '上置'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: '',
|
value: 'horizontal',
|
||||||
label: '左置'
|
label: '左置'
|
||||||
}
|
}
|
||||||
]"
|
]"
|
||||||
|
@ -41,7 +41,7 @@ export default defineComponent({
|
||||||
name: "FormBase",
|
name: "FormBase",
|
||||||
setup() {
|
setup() {
|
||||||
const labelWidthRef = ref(100);
|
const labelWidthRef = ref(100);
|
||||||
const labelLayoutRef = ref();
|
const labelLayoutRef = ref("horizontal");
|
||||||
const context = {
|
const context = {
|
||||||
labelWidthRef,
|
labelWidthRef,
|
||||||
labelLayoutRef
|
labelLayoutRef
|
||||||
|
|
Loading…
Reference in New Issue