域名读setting配置文件

This commit is contained in:
谢思 2023-09-26 14:58:38 +08:00
parent 297a7fdf2d
commit a0cfb9dd57
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import { getImageUrl } from "../../../common/UrlTool";
const { TextArea } = Input;
function CreateSite(props) {
const { current_user, history, form } = props;
const { current_user, history, form, mygetHelmetapi:{site_page_deploy_domain} } = props;
const { getFieldDecorator, validateFieldsAndScroll, setFieldsValue } = form;
const [tag, setTag] = useState(undefined);
const [language, setLanguage] = useState(undefined);
@ -104,7 +104,7 @@ function CreateSite(props) {
/>
)}
<span style={{wordBreak: 'break-all'}}>
http://{current_user.login}.kingchan.cn/{tag}
http://{current_user.login}.{site_page_deploy_domain}/{tag}
</span>
</Form.Item>
<Form.Item name="建站工具" label="建站工具">