File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/resources/static/cv/js Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2145,6 +2145,11 @@ https://github.com/Tencent/APIJSON/issues
21452145 if (this.isTestCaseShow) { //文档
21462146 this.exTxt.name = 'APIJSON自动化文档 ' + this.formatDateTime()
21472147 }
2148+
2149+ else if (this.isRandomShow && this.isRandomListShow) {
2150+ this.exTxt.name = 'CVAuto_report_' + (this.reportId || 0) + '.xlsx'
2151+ window.open(this.server + '/download/cv/report/' + (this.reportId || 0))
2152+ }
21482153 else if (this.view == 'markdown' || this.view == 'output') {
21492154 var suffix
21502155 switch (this.language) {
@@ -2940,6 +2945,9 @@ https://github.com/Tencent/APIJSON/issues
29402945 + '\n\n\n\n\n\n\n\n## 文档(Markdown格式,可用工具预览) \n\n' + doc
29412946 , this.exTxt.name + '.txt')
29422947 }
2948+ else if (this.isRandomShow && this.isRandomListShow) {
2949+ window.open(this.server + '/download/cv/report/' + (this.reportId || 0))
2950+ }
29432951 else if (this.view == 'markdown' || this.view == 'output') { //model
29442952 var clazz = StringUtil.trim(this.exTxt.name)
29452953
You can’t perform that action at this time.
0 commit comments