您可以通过将以下内容添加到 config.toml 文件中,来向应用程序注入自定义 JavaScript 脚本
config.toml
[UI] # ... # This can either be a css file in your `public` dir or a URL custom_js = '/public/my_js_script.js'
配置更新后,请重新启动应用程序。您的自定义脚本现在将加载。
此页面有帮助吗?