😲删除已弃用的参数

This commit is contained in:
KaneLeung 2024-07-30 11:35:58 +08:00
parent aa68c76b13
commit 53d7a6a584

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>({