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
2145
2145
if (this.isTestCaseShow) { //文档
2146
2146
this.exTxt.name = 'APIJSON自动化文档 ' + this.formatDateTime()
2147
2147
}
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
+ }
2148
2153
else if (this.view == 'markdown' || this.view == 'output') {
2149
2154
var suffix
2150
2155
switch (this.language) {
@@ -2940,6 +2945,9 @@ https://github.com/Tencent/APIJSON/issues
2940
2945
+ '\n\n\n\n\n\n\n\n## 文档(Markdown格式,可用工具预览) \n\n' + doc
2941
2946
, this.exTxt.name + '.txt')
2942
2947
}
2948
+ else if (this.isRandomShow && this.isRandomListShow) {
2949
+ window.open(this.server + '/download/cv/report/' + (this.reportId || 0))
2950
+ }
2943
2951
else if (this.view == 'markdown' || this.view == 'output') { //model
2944
2952
var clazz = StringUtil.trim(this.exTxt.name)
2945
2953
You can’t perform that action at this time.
0 commit comments