Skip to content
New issue

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

[ bug ]1.8.3 SQL查询的 js 中缺失函数 #1433

Closed
unknowissue opened this issue Mar 29, 2022 · 3 comments
Closed

[ bug ]1.8.3 SQL查询的 js 中缺失函数 #1433

unknowissue opened this issue Mar 29, 2022 · 3 comments

Comments

@unknowissue
Copy link
Contributor

在提交 issue 前,请查阅以下资源,请先进行搜索来保证没有类似的 issue。
文档 | FAQ

重现步骤

1.8.3 SQL查询 不显示数据库,包括关联的实例
image
控制台报错
image
看调用了这个函数

onLoadError: onLoadErrorCallback,
onSearch: function (e) {
//传搜索参数给服务器
queryParams(e)
},

但是我又在sqlquery.html搜不到这个函数的定义
我不懂js,请问符合预期么?
还是浏览器的问题?

期待结果和实际结果

期待结果:

实际结果:

截图

错误日志

版本信息

应用版本/分支:
Release 1.8.3

部署方式:
手工部署
1.8.2升级至1.8.3

@unknowissue
Copy link
Contributor Author

以及实例列表、会话管理、数据库管理、账号管理、参数管理 也有这个问题呢

@nick2wang
Copy link
Collaborator

nick2wang commented Mar 29, 2022

看错了,是在这里 #1365 common/static/dist/js/utils.js
是不是base.html没更新引用?

<script src="{% static 'dist/js/utils.js' %}"></script>

@unknowissue
Copy link
Contributor Author

嗷嗷,我sb了,忘记更新nginx的配置文件了

location /static {
          alias /archery/Archery-1.8.3/static; #此处指向settings.py配置项STATIC_ROOT目录的绝对路径,用于nginx收集静态资源
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants