Commit 683b899f authored by Bill's avatar Bill
parents bcb11f1a 8da826b5
......@@ -110,7 +110,7 @@ const EquityInfo: React.FC<EquityInfoProps> = ({
},
{
title: '会员权益名称',
dataIndex: 'rightTypeName ',
dataIndex: 'rightTypeName',
align: 'center',
},
{
......
......@@ -491,6 +491,19 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
}
};
const getPageTitle = () => {
switch(Number(environment)) {
case 2:
return "H5首页"
case 3:
return "小程序首页"
case 4:
return "APP首页"
default:
return "首页"
}
}
return !loading ? (
<BrickProvider
config={config}
......@@ -499,7 +512,7 @@ const appMallEdit: React.FC<ShopPreviewPropsType> = (props) => {
}}
>
<div className={styles['wrapper']}>
<ToolBar type={1} title={Number(environment) === 4 ? "APP首页" : '小程序首页'} saveType={1} templateInfo={templateInfo} showActions={true} templateId={id} />
<ToolBar type={1} title={getPageTitle()} saveType={1} templateInfo={templateInfo} showActions={true} templateId={id} />
<div className={styles['content']}>
<MobileEditLeft />
<div className={styles['app-wrapper']}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment