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
您好,在JS代码中调用文件存储或数据存储相关的API返回错误是一个已知问题。
临时规避方法,此问题将在下个版本更新中解决:
在菜单栏 File->Settings->Appearance & Behavior->System Settings->HarmonyOS SDK Location中查看并复制SDK安装路径; 进入SDK安装路径目录,打开SDK下预览器安装路径([SDK安装路径]\previewer\3.0.0.80\liteWearable\bin) 进入bin目录下创建目录:file_system\app\ace\data 重启DevEco Studio 另外经过排查您的demo中,存在以下几处使用不恰当的地方:
pages/index目录下同时存在.css文件和.scss文件。由于.css文件的优先级高于.scss文件,所以实际生效的是index.css文件。而您并未在index.css设置页面的样式。 config.json中并未配置除pages/index/index之外的其他页面路由信息,打包工具将不会处理其他页面,导致页面跳转失败。 如果还有其他问题,欢迎交流讨论。
The text was updated successfully, but these errors were encountered:
原文 https://gitee.com/openharmony/ace_lite_jsfwk/issues/I1X00C?from=project-issue
Sorry, something went wrong.
No branches or pull requests
您好,在JS代码中调用文件存储或数据存储相关的API返回错误是一个已知问题。
临时规避方法,此问题将在下个版本更新中解决:
在菜单栏 File->Settings->Appearance & Behavior->System Settings->HarmonyOS SDK Location中查看并复制SDK安装路径;
进入SDK安装路径目录,打开SDK下预览器安装路径([SDK安装路径]\previewer\3.0.0.80\liteWearable\bin)
进入bin目录下创建目录:file_system\app\ace\data
重启DevEco Studio
另外经过排查您的demo中,存在以下几处使用不恰当的地方:
pages/index目录下同时存在.css文件和.scss文件。由于.css文件的优先级高于.scss文件,所以实际生效的是index.css文件。而您并未在index.css设置页面的样式。
config.json中并未配置除pages/index/index之外的其他页面路由信息,打包工具将不会处理其他页面,导致页面跳转失败。
如果还有其他问题,欢迎交流讨论。
The text was updated successfully, but these errors were encountered: