Commit 30eb267d authored by GuanHua's avatar GuanHua

fix: 修复模板装修问题

parent dccb338a
......@@ -20,6 +20,7 @@ import MobileClientEditLeft from '../../editor/components/mobileClientEditLeft';
import { message } from 'antd';
import { priceFormat } from '@/utils/numberFomat';
import * as MarketingConfigs from './marketing_config';
import brickConfig from '../../editor/configs'
import { cloneDeep } from 'lodash';
import {
defaultHeaderNavData,
......@@ -91,7 +92,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
const [componentConfigs, setComponentConfigs] = useState({});
const { memberId, memberRoleId } = getAuth() || {};
const [templateInfo, setTemplateInfo] = useState<any>()
const brickConfig = useBrickAsync()
// const brickConfig = useBrickAsync()
const intl = useIntl()
const headers: any = {
......
......@@ -21,6 +21,7 @@ import { priceFormat } from '@/utils/numberFomat';
import * as MarketingConfigs from './marketing_config';
import { cloneDeep } from 'lodash';
import { GlobalConfig } from '@/global/config'
import brickConfig from '../../editor/configs'
import moment from 'moment'
import {
channelLayoutConfig,
......@@ -91,7 +92,7 @@ const OwnMallTempleteEdit: React.FC<ShopPreviewPropsType> = props => {
const [componentConfigs, setComponentConfigs] = useState({});
const { memberId, memberRoleId } = getAuth() || {};
const [templateInfo, setTemplateInfo] = useState<any>()
const brickConfig = useBrickAsync()
// const brickConfig = useBrickAsync()
const intl = useIntl()
useEffect(() => {
......
......@@ -14,6 +14,7 @@ import MobileClientEditLeft from '../../editor/components/mobileClientEditLeft'
import { cloneDeep } from 'lodash'
import { message } from 'antd'
import moment from 'moment'
import brickConfig from '../../editor/configs'
import * as MarketingConfigs from './marketing_config'
import { priceFormat } from '@/utils/numberFomat'
import {
......@@ -77,7 +78,7 @@ const mobileShopTempleteEdit: React.FC<ShopPreviewPropsType> = (props) => {
const [theme, setTheme] = useState<string>('theme-mall-science')
const [componentConfigs, setComponentConfigs] = useState({})
const { memberId, memberRoleId } = getAuth() || {}
const brickConfig = useBrickAsync()
// const brickConfig = useBrickAsync()
const intl = useIntl()
const headers = {
......
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