feat: 将阿成信任内容迁移为品牌数据
This commit is contained in:
1 parent
55989a5dfe
commit
774ae2c8e3
19 files changed
+142
-35
No files matched your search
@@ -2,14 +2,14 @@ const { loadWorkspaceWithFallback } = require("../../utils/runtime-workspace");
|
||||
const { openPage } = require("../../utils/navigation");
|
||||
|
||||
Page({
|
||||
data: { brand: {}, presentation: {}, trustContent: [], offerings: [], error: "" },
|
||||
data: { brand: {}, presentation: {}, trustItems: [], offerings: [], error: "" },
|
||||
onLoad() {
|
||||
loadWorkspaceWithFallback()
|
||||
.then((workspace) =>
|
||||
this.setData({
|
||||
brand: workspace.brand || {},
|
||||
presentation: workspace.brand?.visualPresentation?.home || {},
|
||||
trustContent: workspace.trustPresentation || {},
|
||||
trustItems: workspace.trustItems || [],
|
||||
offerings: workspace.offerings || [],
|
||||
}),
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user