Skip to content

Commit

Permalink
8.3.0-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
1zilc committed May 13, 2024
1 parent ddc8e94 commit c11e859
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion release/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "fishing-funds",
"productName": "Fishing Funds",
"description": "基金,大盘,股票,虚拟货币状态栏显示小应用,基于Electron开发,支持 MacOS,Windows,Linux客户端,数据源来自天天基金,蚂蚁基金,爱基金,腾讯证券,新浪基金等",
"version": "8.3.0",
"version": "8.3.0-beta",
"main": "./dist/main/index.mjs",
"dependencies": {}
}
8 changes: 7 additions & 1 deletion src/renderer/components/Collect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ export interface CollectProps {
const { production } = window.contextModules.process;

export const Collect: React.FC<CollectProps> = ({ title }) => {
return <>{production && title && <webview src={`https://ff.1zilc.top/collect?title=${title}`} style={{ display: 'none' }} />}</>;
return (
<>
{!production && title && (
<webview src={`https://ff.1zilc.top/collect?title=${title}`} style={{ display: 'none' }} />
)}
</>
);
};
export default Collect;

0 comments on commit c11e859

Please sign in to comment.