feat:项目中心和个人中心
This commit is contained in:
@@ -23,7 +23,12 @@ const redirectUrl = computed(() => {
|
||||
|
||||
const title = computed(() => pageConfig.value.title)
|
||||
|
||||
const subtitle = computed(() => `${countdown.value}秒后自动跳转至${pageConfig.value.subtitleTarget}`)
|
||||
const subtitle = computed(() => {
|
||||
if (pageType.value === 'modifySuccess')
|
||||
return `${countdown.value}秒后自动返回`
|
||||
|
||||
return `${countdown.value}秒后自动跳转至${pageConfig.value.subtitleTarget}`
|
||||
})
|
||||
|
||||
onLoad((options) => {
|
||||
const type = options?.type
|
||||
@@ -44,7 +49,10 @@ onLoad((options) => {
|
||||
const id = options?.id
|
||||
if (id)
|
||||
projectId.value = decodeURIComponent(String(id))
|
||||
return
|
||||
}
|
||||
if (type === 'modifySuccess')
|
||||
pageType.value = 'modifySuccess'
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user