|
@@ -130,7 +130,7 @@ export default {
|
|
|
const articleTitle = computed(() => {
|
|
|
if (activeCorpId.value === '') {
|
|
|
return ''
|
|
|
- } else if (activeCorpId.value === 'time-node') {
|
|
|
+ } else if (activeCorpId.value === '-1') {
|
|
|
return timeNameList[activeTimeIdx.value]
|
|
|
} else {
|
|
|
const targetCorp = corpList.value.find((item) => {
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
const articleDesc = computed(() => {
|
|
|
if (activeCorpId.value === '') {
|
|
|
return ''
|
|
|
- } else if (activeCorpId.value === 'time-node') {
|
|
|
+ } else if (activeCorpId.value === '-1') {
|
|
|
return dataRaw['阶段介绍'][activeTimeIdx.value]['介绍']
|
|
|
} else {
|
|
|
const targetCorp = corpList.value.find((item) => {
|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
watch(activeCorpId, async (newV) => {
|
|
|
if (newV === '') {
|
|
|
articleBannerUrl.value = ''
|
|
|
- } else if (newV === 'time-node') {
|
|
|
+ } else if (newV === '-1') {
|
|
|
articleBannerUrl.value = ''
|
|
|
} else {
|
|
|
const corpDetail = await api.getHistoryDetail(newV)
|