support share

Signed-off-by: theonefx <chenxilzx1@gmail.com>
This commit is contained in:
theonefx
2022-12-06 10:54:34 +08:00
parent 6d62aadfad
commit c95ea39696
25 changed files with 22 additions and 42 deletions

View File

@@ -73,17 +73,6 @@ function Popover({ shareUrl, shareSrc, open, onClose, position }) {
<label htmlFor='input-share'>
请复制下面的链接来分享你的项目配置
</label>
{
shareSrc === ''
?
<label htmlFor='input-share'>
Tips: 您未登录<a href="https://account.aliyun.com/login/login.htm?oauth_callback=https%3A%2F%2Fstart.aliyun.com%2Fbootstrap.html">登录</a>
</label>
:
<label htmlFor='input-share'>
Tips: 您已登录您可以使用一下专属链接来分享项目配置该分享链接的点击将被关联在您的账户下
</label>
}
<div className='control'>
<input
onFocus={event => {