File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ function handleMsgClick(message: PMessageItem) {
9191}
9292
9393const handleLoad = async () => {
94- if (storageManager .getObj (" userInfo" )?.value ?.loginStatus === false ) {
94+ if (storageManager .getObj (" userInfo" )?.value ?.loginStatus === false && Category === " User " ) {
9595 return ;
9696 }
9797 if (loading .value || noMore .value === true ) return ;
@@ -146,7 +146,9 @@ window.$Logger.logPageView({
146146 timeStamp: Date .now (),
147147});
148148
149- onMounted (checkLogin );
149+ onMounted (()=> {
150+ if (Category === " User" ) checkLogin ();
151+ });
150152 </script >
151153
152154<style scoped>
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export function getCoverUrl(data: PProjects): string {
3939 const url = `/@static/experiments/images/${ data . ID . slice ( 0 , 4 ) } /${ data . ID . slice (
4040 4 ,
4141 6 ,
42- ) } /${ data . ID . slice ( 6 , 8 ) } /${ data . ID . slice ( 8 , 24 ) } /${ data . Image || 0 } .jpg!block `;
42+ ) } /${ data . ID . slice ( 6 , 8 ) } /${ data . ID . slice ( 8 , 24 ) } /${ data . Image || 0 } .jpg`;
4343 return window . $getPath ( url ) ;
4444}
4545
You can’t perform that action at this time.
0 commit comments