This commit is contained in:
2025-08-15 03:08:47 +08:00
parent 384069ecbf
commit 34b4ccfc5f
3 changed files with 23 additions and 6 deletions

View File

@ -54,7 +54,8 @@ const onNewsClick = (item: any) => {
//并且写入pinia
noticeStore.state.value.notices = newsList.value;
//如果有formPath就前往
console.log('🚀 ~ onNewsClick ~ item.formPath:', newsList.value);
console.log(1111111111111111);
console.log(newsList.value[item]);
if (newsList.value[item].route) {
proxy?.$tab.openPage('/' + newsList.value[item].route, '', { id: newsList.value[item].detailId, type: 'view' });
}