瀏覽代碼

开发者工具自动增加增加微信小程序内搜索

limengbo 5 年之前
父節點
當前提交
33034e1ae6
共有 3 個文件被更改,包括 11 次插入1 次删除
  1. 2 1
      app.json
  2. 2 0
      project.config.json
  3. 7 0
      sitemap.json

+ 2 - 1
app.json

@@ -35,5 +35,6 @@
     "onReachBottomDistance": 50,
     "enablePullDownRefresh": true
   },
-  "debug": false
+  "debug": false,
+  "sitemapLocation": "sitemap.json"
 }

+ 2 - 0
project.config.json

@@ -18,6 +18,8 @@
 		"hidedInDevtools": []
 	},
 	"isGameTourist": false,
+	"simulatorType": "wechat",
+	"simulatorPluginLibVersion": {},
 	"condition": {
 		"search": {
 			"current": -1,

+ 7 - 0
sitemap.json

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