Skip to content

Commit b1759f1

Browse files
committed
注释关于自动生成注释的alert
1 parent 4724d44 commit b1759f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apijson/CodeUtil.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ var CodeUtil = {
6666
}
6767
else { //其它,直接在后面加上注释
6868
var isArray = line.endsWith('[');
69-
alert('depth = ' + depth + '; line = ' + line + '; isArray = ' + isArray);
69+
// alert('depth = ' + depth + '; line = ' + line + '; isArray = ' + isArray);
7070
comment = value == 'null' ? ' ! null无效' : CodeUtil.getComment4Request(tableList, names[depth], key, isArray ? '' : line.substring(index + 2).trim());
7171
}
7272
}
@@ -751,7 +751,7 @@ var CodeUtil = {
751751
* @param value
752752
*/
753753
getComment4Request: function (tableList, name, key, value) {
754-
alert('name = ' + name + '; key = ' + key + '; value = ' + value);
754+
// alert('name = ' + name + '; key = ' + key + '; value = ' + value);
755755

756756
if (key == null) {
757757
return '';
@@ -813,7 +813,7 @@ var CodeUtil = {
813813
return CodeUtil.getComment(CodeUtil.getCommentFromDoc(tableList, name, key), false, ' ');
814814
}
815815

816-
alert('name = ' + name + '; key = ' + key);
816+
// alert('name = ' + name + '; key = ' + key);
817817
if (StringUtil.isEmpty(name)) {
818818
switch (key) {
819819
case 'tag':

0 commit comments

Comments
 (0)