From 5ab4ab327b13492d184199e812e7729edae8f13c Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Sun, 28 Sep 2025 09:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE-=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 8 +++++++- static/js/CommonFunction.js | 12 ++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/manifest.json b/manifest.json index 4ffaee9..bb6414d 100644 --- a/manifest.json +++ b/manifest.json @@ -64,7 +64,13 @@ "desc" : "获取用户位置" } }, - "requiredPrivateInfos" : [ "getLocation", "onLocationChange", "startLocationUpdate","chooseLocation","chooseAddress" ] + "requiredPrivateInfos" : [ + "getLocation", + "onLocationChange", + "startLocationUpdate", + "chooseLocation", + "chooseAddress" + ] }, "mp-alipay" : { "usingComponents" : true diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index fbd9e4a..f8ee524 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -2,7 +2,7 @@ import Vue from "vue"; // 全局变量 切换测试/正式 -Vue.prototype.envPropObj = { +Vue.prototype.envPropObj = 1 ? { // 测试环境 // 我的-为您推荐 标签id use_recommend_tag_id: 684, @@ -12,12 +12,12 @@ Vue.prototype.envPropObj = { score_type_all: 680, // 积分商城-活动规则 score_rule_id: 2, - +} : { // 正式环境 - // use_recommend_tag_id: 674, - // score_daily_recommend: 673, - // score_type_all: 672, - // score_rule_id: 7, + use_recommend_tag_id: 674, + score_daily_recommend: 673, + score_type_all: 672, + score_rule_id: 7, } // 格式化富文本