feat: 建立小程序品牌运行时上下文
This commit is contained in:
1 parent
dcb40f629b
commit
f7fe6d6b20
6 files changed
+51
-1
No files matched your search
@@ -7,4 +7,7 @@ module.exports = {
|
||||
get brand() {
|
||||
return app.globalData.brand || {};
|
||||
},
|
||||
get brandSlug() {
|
||||
return app.globalData.brandSlug || "default-brand";
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user