FAQ:FlyFish常见问题汇总 #137
Rosso-Wang
started this conversation in
Show and tell
Replies: 1 comment
-
欢迎大家补充:) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Q1:FlyFish搭建成功后,组件开发模块报错。
Q2:FlyFish2.0 版本前端NPM安装依赖包报错
Q3:FlyFish部署启动后报错
Q4:NPM源加载失败
Q5:公共组件导出之后重新导入报错
安装配置 FlyFish2.0版本后,组件先在线操作导出,随后再导入无法正常显示,当前使用的mysql,redis,code-server,solution_platform,visual_component_platform均是单独用dokcer做镜像在k8s上运行。
Q6:组件开发平台npm run build报错
Q7:调用公网的 API存在跨域问题
系统信息如下:
浏览器版本: Version 101.0.4951.64 (Official Build) (x86_64)
操作系统: CentOS7.6
Node 版本: NodeJS14.9
Q8:json文件导出之后重新导入报错
Demo环境下将已编辑好的模板2 json文件导出后,导入至个人模板1时出现报错。系统信息如下:
浏览器版本: Version 101.0.4951.64 (Official Build) (x86_64)
操作系统: CentOS7.6
Node 版本: NodeJS12.22
Q9:下载Demo环境下模板后,直接放至tomcat的webapps目录下时访问报错且组件加载失败
系统信息如下:
浏览器版本: Version 101.0.4951.64 (Official Build) (x86_64)
操作系统: CentOS7.6
Q10:FlyFish组件显示问题
Q11:FlyFish-2.2.0部署成功新建组件可以正常开发使用,但是导入github、gitee FlyFishComponents仓库组件后无法正常使用

原因:
FlyFish-2.2.0不兼容FlyFishComponents中的组件,需要手动修改FlyFishComponents中组件的资源路径和组件ID为对应的占位符。
修改文件包含:editor.html、env.js、index.html、options.json、src/main.js、src/setting.js
FlyFishComponents仓库——标题组件为例
editor.html
env.js
index.html
options.json
src/main.js
src/setting.js
操作步骤:
替换文件 —— 压缩组件 —— 导入FlyFish —— 安装依赖 —— 编译组件(Ctrl+S)—— 更新上线
Q12:docker镜像部署问题
FlyFish-2.x 版本docker镜像部署后,所有服务正常,但第一个接口提示登录成功,返回了一个id,第二个接口报错AUTH FAIL
Beta Was this translation helpful? Give feedback.
All reactions