We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如Cwebsocket的例子,我不想写死,我想用一个json文件保存连接的ip地址,程序启动时读取这个json来连接,但是不清楚awtk-web里对文件读取怎么处理?机器上能正常读取的逻辑到了web就没用了。
The text was updated successfully, but these errors were encountered:
加了一个读取资源的例子:https://gitee.com/zlgopen/awtk-web/blob/master/examples/AwtkApplicationCAssets/src/pages/home_page.c
Sorry, something went wrong.
这个感觉是一次读取然后写到awtk_asm.js里的,属于一次写死,在web项目里对对于json的二次修改就不会读取。有无办法让项目启动后能再读取更新后的内容?
网络是异步接口,文件系统是同步接口,两者没法统一。
No branches or pull requests
比如Cwebsocket的例子,我不想写死,我想用一个json文件保存连接的ip地址,程序启动时读取这个json来连接,但是不清楚awtk-web里对文件读取怎么处理?机器上能正常读取的逻辑到了web就没用了。
The text was updated successfully, but these errors were encountered: