shish 4 лет назад
Родитель
Сommit
2495137aa9
2 измененных файлов с 9 добавлено и 1 удалено
  1. 2 1
      ghsApp/dist/build/mp-weixin/app.json
  2. 7 0
      ghsApp/dist/build/mp-weixin/sitemap.json

+ 2 - 1
ghsApp/dist/build/mp-weixin/app.json

@@ -387,5 +387,6 @@
     "t-tr": "/components/plugin/t-table/t-tr",
     "t-tr": "/components/plugin/t-table/t-tr",
     "t-th": "/components/plugin/t-table/t-th",
     "t-th": "/components/plugin/t-table/t-th",
     "t-td": "/components/plugin/t-table/t-td"
     "t-td": "/components/plugin/t-table/t-td"
-  }
+  },
+  "sitemapLocation": "sitemap.json"
 }
 }

+ 7 - 0
ghsApp/dist/build/mp-weixin/sitemap.json

@@ -0,0 +1,7 @@
+{
+  "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
+  "rules": [{
+  "action": "allow",
+  "page": "*"
+  }]
+}