mirror of https://github.com/openspug/spug
fix issues
parent
9205891920
commit
a347c5320c
|
@ -14,11 +14,11 @@ export default function () {
|
|||
<Layout.Footer style={{padding: 0}}>
|
||||
<div className={styles.footer}>
|
||||
<div className={styles.links}>
|
||||
<a className={styles.item} title="官网" href="https://www.spug.dev" target="_blank"
|
||||
<a className={styles.item} title="官网" href="https://spug.cc" target="_blank"
|
||||
rel="noopener noreferrer">官网</a>
|
||||
<a className={styles.item} title="Github" href="https://github.com/openspug/spug" target="_blank"
|
||||
rel="noopener noreferrer"><GithubOutlined/></a>
|
||||
<a title="文档" href="https://www.spug.dev/docs/about-spug/" target="_blank"
|
||||
<a title="文档" href="https://spug.cc/docs/about-spug/" target="_blank"
|
||||
rel="noopener noreferrer">文档</a>
|
||||
</div>
|
||||
<div style={{color: 'rgba(0, 0, 0, .45)'}}>
|
||||
|
|
|
@ -46,13 +46,13 @@ export default observer(function () {
|
|||
</Form.Item>
|
||||
<Form.Item name="wx_token" label="微信Token" extra={
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/alarm-contact/">如何获取微信 Token ?</a>}>
|
||||
href="https://spug.cc/docs/alarm-contact/">如何获取微信 Token ?</a>}>
|
||||
<Input placeholder="请输入微信token"/>
|
||||
</Form.Item>
|
||||
<Form.Item name="ding" label="钉钉" extra={<span>
|
||||
钉钉收不到通知?请参考
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">官方文档</a>
|
||||
href="https://spug.cc/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">官方文档</a>
|
||||
</span>}>
|
||||
<Input placeholder="请输入钉钉机器人完整地址"/>
|
||||
</Form.Item>
|
||||
|
|
|
@ -69,7 +69,7 @@ export default observer(function AutoDeploy() {
|
|||
<Form.Item required={!tagMode} label="选择分支" extra={<span>
|
||||
根据你的网络情况,首次刷新可能会很慢,请耐心等待。
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E6%96%B0%E5%BB%BA%E5%B8%B8%E8%A7%84%E5%8F%91%E5%B8%83%E7%94%B3%E8%AF%B7-git-clone-%E9%94%99%E8%AF%AF">刷新失败?</a>
|
||||
href="https://spug.cc/docs/install-error/#%E6%96%B0%E5%BB%BA%E5%B8%B8%E8%A7%84%E5%8F%91%E5%B8%83%E7%94%B3%E8%AF%B7-git-clone-%E9%94%99%E8%AF%AF">刷新失败?</a>
|
||||
</span>}>
|
||||
<Form.Item style={{display: 'inline-block', marginBottom: 0, width: '246px'}}>
|
||||
<Select disabled={tagMode} placeholder="仅指定分支的事件触发自动发布" value={branch} onChange={setBranch}>
|
||||
|
|
|
@ -71,7 +71,7 @@ export default observer(function Ext1Setup1() {
|
|||
<Form.Item label="消息通知" extra={<span>
|
||||
应用审核及发布成功或失败结果通知,
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
href="https://spug.cc/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
</span>}>
|
||||
<Input
|
||||
addonBefore={(
|
||||
|
|
|
@ -19,7 +19,7 @@ export default observer(function () {
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/deploy-config/#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F">内置全局变量</a>
|
||||
href="https://spug.cc/docs/deploy-config/#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F">内置全局变量</a>
|
||||
)
|
||||
|
||||
function handleNext() {
|
||||
|
|
|
@ -19,7 +19,7 @@ export default observer(function () {
|
|||
<a
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/deploy-config/#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F">内置全局变量</a>
|
||||
href="https://spug.cc/docs/deploy-config/#%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F">内置全局变量</a>
|
||||
)
|
||||
|
||||
function handleSubmit() {
|
||||
|
|
|
@ -68,7 +68,7 @@ export default observer(function Ext2Setup1() {
|
|||
<Form.Item label="消息通知" extra={<span>
|
||||
应用审核及发布成功或失败结果通知,
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
href="https://spug.cc/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
</span>}>
|
||||
<Input
|
||||
addonBefore={(
|
||||
|
|
|
@ -137,7 +137,7 @@ class Ext2Setup2 extends React.Component {
|
|||
) : null,
|
||||
<Form.Item key={2} required label="目标路径" extra={<a
|
||||
target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/deploy-config#%E6%95%B0%E6%8D%AE%E4%BC%A0%E8%BE%93">使用前请务必阅读官方文档。</a>}>
|
||||
href="https://spug.cc/docs/deploy-config#%E6%95%B0%E6%8D%AE%E4%BC%A0%E8%BE%93">使用前请务必阅读官方文档。</a>}>
|
||||
<Input
|
||||
disabled={store.isReadOnly}
|
||||
spellCheck={false}
|
||||
|
|
|
@ -117,7 +117,7 @@ export default observer(function () {
|
|||
<Form.Item required label="选择分支/标签/版本" style={{marginBottom: 12}} extra={<span>
|
||||
根据网络情况,首次刷新可能会很慢,请耐心等待。
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E6%96%B0%E5%BB%BA%E5%B8%B8%E8%A7%84%E5%8F%91%E5%B8%83%E7%94%B3%E8%AF%B7-git-clone-%E9%94%99%E8%AF%AF">clone 失败?</a>
|
||||
href="https://spug.cc/docs/install-error/#%E6%96%B0%E5%BB%BA%E5%B8%B8%E8%A7%84%E5%8F%91%E5%B8%83%E7%94%B3%E8%AF%B7-git-clone-%E9%94%99%E8%AF%AF">clone 失败?</a>
|
||||
</span>}>
|
||||
<Form.Item style={{display: 'inline-block', marginBottom: 0, width: '450px'}}>
|
||||
<Input.Group compact>
|
||||
|
|
|
@ -59,7 +59,7 @@ export default function () {
|
|||
content: <div>
|
||||
未能获取到访问者的真实IP,无法提供基于请求来源IP的合法性验证,详细信息请参考
|
||||
<a target="_blank"
|
||||
href="https://spug.dev/docs/practice/#%E5%AE%89%E5%85%A8%E6%80%A7%E5%AE%9E%E8%B7%B5%E6%8C%87%E5%8D%97"
|
||||
href="https://spug.cc/docs/practice/#%E5%AE%89%E5%85%A8%E6%80%A7%E5%AE%9E%E8%B7%B5%E6%8C%87%E5%8D%97"
|
||||
rel="noopener noreferrer">官方文档</a>。
|
||||
</div>,
|
||||
onOk: () => doLogin(data)
|
||||
|
@ -151,11 +151,11 @@ export default function () {
|
|||
|
||||
<div className={styles.footerZone}>
|
||||
<div className={styles.linksZone}>
|
||||
<a className={styles.links} title="官网" href="https://www.spug.dev" target="_blank"
|
||||
<a className={styles.links} title="官网" href="https://spug.cc" target="_blank"
|
||||
rel="noopener noreferrer">官网</a>
|
||||
<a className={styles.links} title="Github" href="https://github.com/openspug/spug" target="_blank"
|
||||
rel="noopener noreferrer"><GithubOutlined/></a>
|
||||
<a title="文档" href="https://www.spug.dev/docs/about-spug/" target="_blank"
|
||||
<a title="文档" href="https://spug.cc/docs/about-spug/" target="_blank"
|
||||
rel="noopener noreferrer">文档</a>
|
||||
</div>
|
||||
<div style={{color: 'rgba(0, 0, 0, .45)'}}>Copyright <CopyrightOutlined/> 2021 By OpenSpug</div>
|
||||
|
|
|
@ -67,7 +67,7 @@ export default observer(function () {
|
|||
<span>
|
||||
任务执行失败告警通知,
|
||||
<a target="_blank" rel="noopener noreferrer"
|
||||
href="https://spug.dev/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
href="https://spug.cc/docs/install-error/#%E9%92%89%E9%92%89%E6%94%B6%E4%B8%8D%E5%88%B0%E9%80%9A%E7%9F%A5%EF%BC%9F">钉钉收不到通知?</a>
|
||||
</span>)}>
|
||||
<Input
|
||||
value={store.record.rst_notify.value}
|
||||
|
|
|
@ -70,7 +70,7 @@ export default observer(function () {
|
|||
help={(
|
||||
<span>
|
||||
如果启用了MFA(两步验证)则该项为必填。
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://spug.dev/docs/wx-token/">什么是微信Token?</a>
|
||||
<a target="_blank" rel="noopener noreferrer" href="https://spug.cc/docs/wx-token/">什么是微信Token?</a>
|
||||
</span>)}>
|
||||
<Input placeholder="请输入微信Token"/>
|
||||
</Form.Item>
|
||||
|
|
|
@ -34,7 +34,7 @@ class About extends React.Component {
|
|||
top: 88,
|
||||
message: `发现新版本 ${res.version}`,
|
||||
icon: <SmileTwoTone />,
|
||||
btn: <a target="_blank" rel="noopener noreferrer" href="https://spug.dev/docs/update-version/">如何升级?</a>,
|
||||
btn: <a target="_blank" rel="noopener noreferrer" href="https://spug.cc/docs/update-version/">如何升级?</a>,
|
||||
description: <pre style={{lineHeight: '30px'}}>{res.content}<br/>{res.extra}</pre>
|
||||
})
|
||||
} else if (res.extra) {
|
||||
|
@ -64,11 +64,11 @@ class About extends React.Component {
|
|||
<Descriptions.Item label="Spug API版本">{info['spug_version']}</Descriptions.Item>
|
||||
<Descriptions.Item label="Spug Web版本">{VERSION}</Descriptions.Item>
|
||||
<Descriptions.Item label="官网文档">
|
||||
<a href="https://spug.dev" target="_blank" rel="noopener noreferrer">https://spug.dev</a>
|
||||
<a href="https://spug.cc" target="_blank" rel="noopener noreferrer">https://spug.cc</a>
|
||||
</Descriptions.Item>
|
||||
<Descriptions.Item label="更新日志">
|
||||
<a href="https://spug.dev/docs/change-log/" target="_blank"
|
||||
rel="noopener noreferrer">https://spug.dev/docs/change-log/</a>
|
||||
<a href="https://spug.cc/docs/change-log/" target="_blank"
|
||||
rel="noopener noreferrer">https://spug.cc/docs/change-log/</a>
|
||||
</Descriptions.Item>
|
||||
</Descriptions>
|
||||
</Spin>
|
||||
|
|
|
@ -39,7 +39,7 @@ export default observer(function () {
|
|||
<Form form={form} initialValues={store.settings.ldap_service} style={{maxWidth: 400}} labelCol={{span: 8}}
|
||||
wrapperCol={{span: 16}}>
|
||||
<Form.Item required name="server" label="LDAP服务地址">
|
||||
<Input placeholder="例如:ldap.spug.dev"/>
|
||||
<Input placeholder="例如:ldap.spug.cc"/>
|
||||
</Form.Item>
|
||||
<Form.Item required name="port" label="LDAP服务端口">
|
||||
<Input placeholder="例如:389"/>
|
||||
|
|
|
@ -59,7 +59,7 @@ export default observer(function () {
|
|||
label="登录MFA(两步)认证"
|
||||
style={{marginTop: 24}}
|
||||
help={<span>建议开启,登录时额外使用验证码进行身份验证。开启前至少要确保管理员账户配置了微信Token(账户管理/用户/编辑),开启后未配置微信Token的账户将无法登录,<a
|
||||
target="_blank" rel="noopener noreferrer" href="https://spug.dev/docs/wx-token/">什么是微信Token?</a></span>}>
|
||||
target="_blank" rel="noopener noreferrer" href="https://spug.cc/docs/wx-token/">什么是微信Token?</a></span>}>
|
||||
<Switch
|
||||
checkedChildren="开启"
|
||||
unCheckedChildren="关闭"
|
||||
|
|
Loading…
Reference in New Issue