feat: 代码优化

This commit is contained in:
yupeng12 2024-06-14 10:29:35 +08:00
parent 0d9ccb82ed
commit df8ab2fea9

View File

@ -675,9 +675,9 @@ export default class FormulaControl extends React.Component<
handleQuickVariableSelect(item: VariableItem) {
this.handleInputChange('${' + item.value + '}');
this.closeQuickVariablesOuter();
setTimeout(() => {
requestAnimationFrame(() => {
this.editorPlugin?.autoMark?.();
}, 0);
});
}
@autobind