feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面
This commit is contained in:
@@ -28,6 +28,7 @@ import {
|
||||
timestamp2string1,
|
||||
copy,
|
||||
showSuccess,
|
||||
showError,
|
||||
} from './utils';
|
||||
import {
|
||||
STORAGE_KEYS,
|
||||
@@ -170,6 +171,8 @@ export const createSectionTitle = (Icon, text) => (
|
||||
export const handleCopyUrl = async (url, t) => {
|
||||
if (await copy(url)) {
|
||||
showSuccess(t('复制成功'));
|
||||
} else {
|
||||
showError(t('复制失败,请手动复制'));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user