star7th пре 5 година
родитељ
комит
53fa26fdac
1 измењених фајлова са 1 додато и 1 уклоњено
  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;
   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 += `
     newContent += `
 ##### json字段说明
 ##### json字段说明