fix(系统设置): 修复只有系统成员角色任务中心报错缺陷
This commit is contained in:
parent
d9fe90b3e1
commit
768185db2d
|
@ -268,6 +268,9 @@
|
|||
|
||||
const shareTime = ref<string>('');
|
||||
async function getTime() {
|
||||
if (!appStore.currentProjectId) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const res = await getShareTime(appStore.currentProjectId);
|
||||
const match = res.match(/^(\d+)([MYHD])$/);
|
||||
|
|
|
@ -677,6 +677,9 @@
|
|||
|
||||
const shareTime = ref<string>('');
|
||||
async function getTime() {
|
||||
if (!appStore.currentProjectId) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const res = await getShareTime(appStore.currentProjectId);
|
||||
const match = res.match(/^(\d+)([MYHD])$/);
|
||||
|
|
Loading…
Reference in New Issue