Commit 42187ee2 authored by GuanHua's avatar GuanHua

fix: 店铺信息下载宣传画册失败问题修复

parent 4adb7c81
...@@ -426,7 +426,7 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => { ...@@ -426,7 +426,7 @@ const ChannelInfo: React.FC<ShopInfoPropsType> = (props) => {
<div className={styles.upload_left}> <div className={styles.upload_left}>
<LinkOutlined style={{ marginRight: '5px' }} /> <LinkOutlined style={{ marginRight: '5px' }} />
<Typography.Link <Typography.Link
href={`/api/contract/contractTemplate/downloadContract?contractName=${file.albumName}&contractUrl=${file.albumURL}`} href={`/api/contract/contractTemplate/downloadContract?contractName=${file.albumName}&contractUrl=${file.albumUrl}`}
target="_blank" target="_blank"
> >
{file.albumName} {file.albumName}
......
...@@ -105,21 +105,21 @@ const ChannelSeoAdded = () => { ...@@ -105,21 +105,21 @@ const ChannelSeoAdded = () => {
label={<RequireItem label="标题" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面title标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="标题" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面title标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入标题" }]} rules={[{ required: true, message: "请输入标题" }]}
> >
<Input maxLength={50} disabled={link === 'detail'} placeholder='最长100个字符,50个汉字' /> <Input maxLength={50} disabled={link === 'detail'} placeholder='最长50个汉字' />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name='description' name='description'
label={<RequireItem label="描述" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Description标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="描述" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Description标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入描述" }]} rules={[{ required: true, message: "请输入描述" }]}
> >
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" maxLength={100} /> <Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个汉字" maxLength={200} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name='keywords' name='keywords'
label={<RequireItem label="关键字" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="关键字" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入关键字" }]} rules={[{ required: true, message: "请输入关键字" }]}
> >
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" maxLength={100} /> <Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长100个汉字" maxLength={100} />
</Form.Item> </Form.Item>
</Form> </Form>
</TabPane> </TabPane>
......
...@@ -414,7 +414,7 @@ const ShopInfo: React.FC<ShopInfoPropsType> = (props) => { ...@@ -414,7 +414,7 @@ const ShopInfo: React.FC<ShopInfoPropsType> = (props) => {
<div className={styles.upload_left}> <div className={styles.upload_left}>
<LinkOutlined style={{ marginRight: '5px' }} /> <LinkOutlined style={{ marginRight: '5px' }} />
<Typography.Link <Typography.Link
href={`/api/contract/contractTemplate/downloadContract?contractName=${file.albumName}&contractUrl=${file.albumURL}`} href={`/api/contract/contractTemplate/downloadContract?contractName=${file.albumName}&contractUrl=${file.albumUrl}`}
target="_blank" target="_blank"
> >
{file.albumName} {file.albumName}
......
...@@ -106,21 +106,21 @@ const ShopSeoAdded = () => { ...@@ -106,21 +106,21 @@ const ShopSeoAdded = () => {
label={<RequireItem label="标题" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面title标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="标题" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面title标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入标题" }]} rules={[{ required: true, message: "请输入标题" }]}
> >
<Input maxLength={50} disabled={link === 'detail'} placeholder='最长100个字符,50个汉字' /> <Input maxLength={50} disabled={link === 'detail'} placeholder='最长50个汉字' />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name='description' name='description'
label={<RequireItem label="描述" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Description标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="描述" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Description标签的内容,便于搜索引擎抓取"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入描述" }]} rules={[{ required: true, message: "请输入描述" }]}
> >
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" maxLength={100} /> <Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个汉字" maxLength={200} />
</Form.Item> </Form.Item>
<Form.Item <Form.Item
name='keywords' name='keywords'
label={<RequireItem label="关键字" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔"><QuestionCircleOutlined /></Tooltip>} />} label={<RequireItem label="关键字" isRequire={true} brief={<Tooltip placement="top" title="用于显示在页面Keywords标签的内容,便于搜索引擎通过关键词搜索时抓取页面,多个关键词用豆号分隔"><QuestionCircleOutlined /></Tooltip>} />}
rules={[{ required: true, message: "请输入关键字" }]} rules={[{ required: true, message: "请输入关键字" }]}
> >
<Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长200个字符,100个汉字" maxLength={100} /> <Input.TextArea disabled={link === 'detail'} rows={5} placeholder="最长100个汉字" maxLength={100} />
</Form.Item> </Form.Item>
</Form> </Form>
</TabPane> </TabPane>
......
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