chore:去掉表达式编辑器组件没用代码

This commit is contained in:
lvxiaojiao 2023-06-27 20:31:01 +08:00
parent 9e5dca76ca
commit af96202307
4 changed files with 0 additions and 16 deletions

View File

@ -74,10 +74,6 @@ export default class ExpressionFormulaControl extends React.Component<
async () => {
this.appLocale = editorStore?.appLocale;
this.appCorpusData = editorStore?.appCorpusData;
const variablesArr = await getVariables(this);
this.setState({
variables: variablesArr
});
}
);
}

View File

@ -187,10 +187,6 @@ export default class FormulaControl extends React.Component<
async () => {
this.appLocale = editorStore?.appLocale;
this.appCorpusData = editorStore?.appCorpusData;
const variablesArr = await getVariables(this);
this.setState({
variables: variablesArr
});
}
);
}

View File

@ -112,10 +112,6 @@ export class TplFormulaControl extends React.Component<
async () => {
this.appLocale = editorStore?.appLocale;
this.appCorpusData = editorStore?.appCorpusData;
const variablesArr = await getVariables(this);
this.setState({
variables: variablesArr
});
}
);

View File

@ -163,10 +163,6 @@ export class TextareaFormulaControl extends React.Component<
async () => {
this.appLocale = editorStore?.appLocale;
this.appCorpusData = editorStore?.appCorpusData;
const variablesArr = await getVariables(this);
this.setState({
variables: variablesArr
});
}
);