Use Camel-Case

This commit is contained in:
myifeng 2021-08-10 18:20:13 +08:00
parent ec1ea55536
commit b2f632d34a

View File

@ -184,11 +184,11 @@ class ConfigEditor extends React.Component {
openDiff(cbName) {
this.diffcb = cbName;
let leftvalue = this.monacoEditor.getValue();
let rightvalue = this.codeVal || '';
leftvalue = leftvalue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
rightvalue = rightvalue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
this.diffEditorDialog.current.getInstance().openDialog(leftvalue, rightvalue);
let leftValue = this.monacoEditor.getValue();
let rightValue = this.codeVal || '';
leftValue = leftValue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
rightValue = rightValue.replace(/\r\n/g, '\n').replace(/\n/g, '\r\n');
this.diffEditorDialog.current.getInstance().openDialog(leftValue, rightValue);
}
clickTab(tabActiveKey) {