File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 341341 }
342342
343343 var tag = App . getTag ( )
344- App . history . name = App . getMethod ( ) + ' ' + ( StringUtil . isEmpty ( tag , true ) ? 'Test ' : tag ) + ' ' + App . formatTime ( ) //不自定义名称的都是临时的,不需要时间太详细
344+ App . history . name = App . getMethod ( ) + ( StringUtil . isEmpty ( tag , true ) ? '' : ' ' + tag ) + ' ' + App . formatTime ( ) //不自定义名称的都是临时的,不需要时间太详细
345345 }
346346 App . isSaveShow = show
347347 } ,
359359 return
360360 }
361361 var tag = App . getTag ( )
362- App . exTxt . name = App . getMethod ( ) + ' ' + ( StringUtil . isEmpty ( tag , true ) ? 'Test ' : tag )
362+ App . exTxt . name = App . getMethod ( ) + ( StringUtil . isEmpty ( tag , true ) ? '' : ' ' + tag )
363363 }
364364 else { //下载到本地
365365 if ( App . isTestCaseShow ) { //文档
12381238 this . locals . unshift ( {
12391239 'Document' : {
12401240 'userId' : App . User . id ,
1241- 'name' : method + ' ' + ( StringUtil . isEmpty ( req . tag , true ) ? 'Test ' : req . tag ) + ' ' + App . formatDateTime ( ) ,
1241+ 'name' : method + ( StringUtil . isEmpty ( req . tag , true ) ? '' : ' ' + req . tag ) + ' ' + App . formatDateTime ( ) ,
12421242 'url' : '/' + method ,
12431243 'request' : real
12441244 }
You can’t perform that action at this time.
0 commit comments