zozero
zozero
> 哦,我刚刚在这个问题下找到解决方案了, clash.meta的作者metacubex,fork了这个项目,做了一个适配clash.meta Alpha分支的subconverter 地址:https://github.com/MetaCubeX/subconverter 再配合https://acl4ssr-sub.github.io/ 后端地址选择本地版能完美解决这个问题 感谢
通过设置app/main.ts文件 `win.loadURL(url.href);` 改为 `win.loadURL('http://localhost:4200');` 编译的时候将将从链接地址获取页面数据,进行渲染。 这样你在运行程序之前打开angular的服务,就可以正常渲染了。 这也其实也说明了Electron更像是一个浏览器+一些额外平台的api接口。
@JohnRSim @WilliamFocus 我使用的是angular 我找到了一个解决方法,我的情况是在使用dexie数据库时需要异步获取数据,这意味着我不能在infinitely组件加载完毕前获取数据,而且之后的数据加载则会导致排版出现问题。 我发现当没有数据时onRequestAppend这个事件会同时调用两次,这意味着你的数据会直接重叠,非常令人痛苦。 以下是我的解决方法: ``` status: boolean = false; count: number = 0; //在构造函数中执行,因为它是最先执行的函数 constructor() { //我先用dexie数据库查了一下多少条数据,并且我通过这个方法成功的将异步变成了同步 historyDB.historyTable.count(async count => { console.log("count", count) //用来计算我数据库中数据有多少条,防止无限获取数据 this.count=count; // 在这里第一次获取数据 this.items...
> change the config file (*.yaml) according to the model (settings -> ControlNet ->Config file for Adapter models) where get Config file for Adapter models
> > > change the config file (*.yaml) according to the model (settings -> ControlNet ->Config file for Adapter models) > > > > > > where get Config file...
我这边是angular的包是这样的。 `import { ThemeServiceInit } from 'ng-devui/theme';` `import { infinityTheme, sweetTheme, provenceTheme, deepTheme, } from 'ng-devui/theme-collection';`