go-admin
go-admin copied to clipboard
A golang framework helps gopher to build a data visualization and admin panel in ten minutes
按照文档中的介绍 http://doc.go-admin.cn/zh/admin/file/ 增加了一个自定义上传方法,但是没有生效。debug发现 [https://github.com/GoAdminGroup/go-admin/blob/76b6df903ad603fde47be664c52b556734736c03/plugins/admin/admin.go#L92](https://github.com/GoAdminGroup/go-admin/blob/76b6df903ad603fde47be664c52b556734736c03/plugins/admin/admin.go#L92) 这里的New()方法似乎永远都是取的默认config,无法载入自定义的file_upload_engine配置 ### 版本信息: - GoAdmin 版本:1.2.23 - golang 版本:1.17 - 浏览器环境:Chrome - 开发环境:win10
### 问题描述 [详细地描述问题,让大家都能理解] macos 快速初始化项目的时候,出现依赖问题, ### 示例代码 [如果有必要,展示代码,线上示例,或仓库] ``` go: github.com/GoAdminGroup/[email protected] requires github.com/mattn/[email protected]+incompatible: reading github.com/mattn/go-sqlite3/go.mod at revision v2.0.3: unknown revision v2.0.3 ``` ### 其他信息 [如截图等其他信息可以贴在这里]
从1.2.17升级到1.2.23之后,数据库表都找不到,数据库使用的是pg. 
### Description [describe your questions] 弹窗选择后,内容返回给input框 ### Example code [If you have any code info] ### Others [screenshots or other info]
### Bug Description When use "Export Current page" feature, it worked well. But when use the "Export All" feature, the code does not get the joinFields. So the column that...
### Description [describe your advice] ### Solution [if any solutions, describe here] ### Others [screenshots and other info]
### Description [describe your questions] 按照文档 进行前端模板文件分离  ### Example code [If you have any code info]   ### Others [screenshots or other info]   请问这如何处理?
### 问题描述 [详细地描述问题,让大家都能理解] 以下几个问题希望能获得解答: 1. 请问info.AddColumnButtons使用action.Ajax时如何取得当前列的id 尝试过info.AddActionButton能取得id 但目前需求感觉还是使用AddColumnButtons比较适当 2. 目前是否无法使用Composite Key作为表的主键 3. 如何在使用者按下自定Button后自动刷新页面(例如 成功更新后刷新页面 失败不刷新 以上再麻烦各位大能解惑 ### 示例代码 [如果有必要,展示代码,线上示例,或仓库 ``` usersPic := table.NewDefaultTable(table.Config{ Driver: db.DriverMysql, CanAdd: false, Editable: true, Deletable:...
### bug 描述 [详细地描述 bug,让大家都能理解] 1. 打开弹出表单,不上传文件,直接点右上角X关闭 2. 再次打开表单,文件上传输入框显示异常,上传文件时报 ### 复现步骤 [清晰描述复现步骤,让别人也能看到问题] 如上 ### 期望结果 [描述你原本期望看到的结果] ### 复现代码 [提供可复现的代码,仓库,或线上示例] getForm := func(panel *types.FormPanel) *types.FormPanel { panel.AddField("文件名", "postfile", db.Varchar, form.Multifile).FieldOptionExt(map[string]interface{}{ "maxFileCount":...
### bug 描述 [详细地描述 bug,让大家都能理解] 在Panel中增加自动刷新,重复点击右上角的刷新按钮,会导致定时器重复添加 ### 复现步骤 [清晰描述复现步骤,让别人也能看到问题] 重复点击右上角的刷新按钮,会导致定时器重复添加 ### 期望结果 [描述你原本期望看到的结果] ### 复现代码 [提供可复现的代码,仓库,或线上示例] 建议可以加个定时器判断或者是清除已经添加过的定时器 ` window.setTimeout(function(){ $.pjax.reload('#pjax-container'); }, ` + template.HTML(strconv.Itoa(refreshTime*1000)) + `); ` ` if(window.refreshTime !=...