star7th 5 lat temu
rodzic
commit
53fa26fdac
1 zmienionych plików z 1 dodań i 1 usunięć
  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字段说明