Skip to content

Commit ed351f6

Browse files
committed
在isSingle高级模式下不显示请求JSON的注释说明
1 parent b1759f1 commit ed351f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@
708708
App.showDoc()
709709

710710
try {
711-
vComment.value = CodeUtil.parseComment(before, docObj == null ? null : docObj['[]'])
711+
vComment.value = isSingle ? '' : CodeUtil.parseComment(before, docObj == null ? null : docObj['[]'])
712712
} catch (e) {
713713
log('onHandle try { vComment.value = CodeUtil.parseComment >> } catch (e) {\n' + e.message);
714714
}

0 commit comments

Comments
 (0)