提交 1262da3e 编写于 作者: E Eason Wang

change some indent

上级 ff8bad97
......@@ -372,7 +372,7 @@ class DataView extends ToolboxFeature<ToolboxDataViewFeatureOption> {
addEventListener(refreshButton, 'click', function () {
if ((typeof contentToOption === 'undefined' && typeof optionToContent !== 'undefined') ||
(typeof contentToOption !== 'undefined' && typeof optionToContent === 'undefined')) {
(typeof contentToOption !== 'undefined' && typeof optionToContent === 'undefined')) {
console.warn('It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored.')
close();
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册