star7th il y a 5 ans
Parent
commit
53fa26fdac
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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字段说明