采购单
This commit is contained in:
@ -54,9 +54,9 @@ const onNewsClick = (item: any) => {
|
||||
//并且写入pinia
|
||||
noticeStore.state.value.notices = newsList.value;
|
||||
//如果有formPath,就前往
|
||||
console.log('🚀 ~ onNewsClick ~ item.formPath:', item.formPath, newsList.value);
|
||||
if (newsList.value[item].formPath) {
|
||||
proxy?.$tab.openPage('/' + newsList.value[item].formPath, '', { id: newsList.value[item].businessId, type: 'view' });
|
||||
console.log('🚀 ~ onNewsClick ~ item.formPath:', newsList.value);
|
||||
if (newsList.value[item].route) {
|
||||
proxy?.$tab.openPage('/' + newsList.value[item].route, '', { id: newsList.value[item].detailId, type: 'view' });
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user