😲删除已弃用的参数
This commit is contained in:
parent
aa68c76b13
commit
53d7a6a584
@ -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>({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user