refactor: 统一模板契约并修复预览版本
This commit is contained in:
1 parent
cd2992c00a
commit
50b87e48de
56 files changed
+7849
-5756
No files matched your search
@@ -20,7 +20,6 @@ const brand = {
|
||||
contactPhone: "13800138000",
|
||||
contactWechat: "food-example",
|
||||
config: {
|
||||
visualTemplateKey: "acheng-campus-food",
|
||||
founder: "测试主理人",
|
||||
title: "私房菜主理人",
|
||||
heroImage: "",
|
||||
@@ -56,7 +55,11 @@ const runtimeWorkspace = {
|
||||
founder: brand.config.founder,
|
||||
title: brand.config.title,
|
||||
visualPresentation: {},
|
||||
visualTemplateKey: brand.config.visualTemplateKey,
|
||||
},
|
||||
visualTemplate: {
|
||||
key: "acheng-campus-food",
|
||||
version: "1.0.2",
|
||||
name: "阿成校园餐",
|
||||
},
|
||||
templateData: {},
|
||||
navigation: { tabs: [] },
|
||||
|
||||
Reference in new issue
Block a user