fix: 修复在相同的cron时偶尔无法触发定时任务的bug

This commit is contained in:
xiaojunnuo
2024-08-03 23:32:50 +08:00
parent 1cf8d4e5e7
commit 680941af11
8 changed files with 101 additions and 34 deletions
@@ -336,6 +336,21 @@ function install(app: App, options: any = {}) {
return columnProps;
}
});
registerMergeColumnPlugin({
name: "resize-column-plugin",
order: 2,
handle: (columnProps: ColumnCompositionProps) => {
if (!columnProps.column) {
columnProps.column = {};
}
columnProps.column.resizable = true;
if (!columnProps.column.width) {
columnProps.column.width = 100;
}
return columnProps;
}
});
}
export default {
@@ -6,12 +6,10 @@ export function useReference(form: any) {
return;
}
for (const reference of form.reference) {
debugger;
_.set(
form,
reference.dest,
compute<any>((scope) => {
debugger;
return _.get(scope, reference.src);
})
);