Merge pull request '😲删除已弃用的参数' (#80) from KaneLeung/Admin.NET.Pro:main into main

Reviewed-on: http://101.43.53.74:3000/Admin.NET/Admin.NET.Pro/pulls/80
This commit is contained in:
zuohuaijun 2024-07-30 13:42:20 +08:00
commit 6f7c7bc95f

View File

@ -21,12 +21,10 @@ interface iVxeOption {
/**
* Vxe表格参数化Hook
* @param {iVxeOption} opt
* @param {VxeGridProps<RowVO>} extras
* @param {VxeGridProps<T>} extras
* @returns
*/
export const useVxeTable = <T>(opt: iVxeOption, extras?: VxeGridProps<T>) => {
// 默认参数
opt = Object.assign({ enableExport: true, remoteExport: false }, opt);
// 创建tableId,表格id固定才可以记录调整列宽再次刷新仍有效。
opt.id = opt.id ? opt.id : String(new Date().getTime());
const options = reactive<VxeGridProps>({