star7th 5 years ago
parent
commit
53fa26fdac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web_src/src/models/page.js

+ 1 - 1
web_src/src/models/page.js

@@ -88,7 +88,7 @@ ${params}
 
   const jsonDesc = obj.request.params.jsonDesc;
 
-  if (jsonDesc && jsonDesc[0] && jsonDesc[0].name) {
+  if ( obj.request.params.mode == "json" && jsonDesc && jsonDesc[0] && jsonDesc[0].name) {
     newContent += `
 ##### json字段说明