go-admin icon indicating copy to clipboard operation
go-admin copied to clipboard

A golang framework helps gopher to build a data visualization and admin panel in ten minutes

Results 207 go-admin issues
Sort by recently updated
recently updated
newest added

按照文档中的介绍 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

🐛bug

### 问题描述 [详细地描述问题,让大家都能理解] 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. ![Screenshot 2021-10-04 at 15 32 33](https://user-images.githubusercontent.com/2620575/135812730-de109035-5aed-42e0-9a87-f8aec3ee6936.png)

🐛bug

### 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...

🐛bug

### Description [describe your advice] ### Solution [if any solutions, describe here] ### Others [screenshots and other info]

### Description [describe your questions] 按照文档 进行前端模板文件分离 ![image](https://user-images.githubusercontent.com/663786/129291430-bf8d2b0d-1700-4629-b838-4caa4b212d14.png) ### Example code [If you have any code info] ![image](https://user-images.githubusercontent.com/663786/129291489-f4ecadbd-7758-4536-a8fc-856be85d5cc7.png) ![image](https://user-images.githubusercontent.com/663786/129291469-13eb7825-2935-4b4e-8804-8c09e91af113.png) ### Others [screenshots or other info] ![image](https://user-images.githubusercontent.com/663786/129291450-fb1beb8d-4967-41c2-90ee-bf0f95774f28.png) ![image](https://user-images.githubusercontent.com/663786/129291544-60e0663c-5c94-4d6a-ab91-70d63d30a8ba.png) 请问这如何处理?

### 问题描述 [详细地描述问题,让大家都能理解] 以下几个问题希望能获得解答: 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 描述 [详细地描述 bug,让大家都能理解] 在Panel中增加自动刷新,重复点击右上角的刷新按钮,会导致定时器重复添加 ### 复现步骤 [清晰描述复现步骤,让别人也能看到问题] 重复点击右上角的刷新按钮,会导致定时器重复添加 ### 期望结果 [描述你原本期望看到的结果] ### 复现代码 [提供可复现的代码,仓库,或线上示例] 建议可以加个定时器判断或者是清除已经添加过的定时器 ` window.setTimeout(function(){ $.pjax.reload('#pjax-container'); }, ` + template.HTML(strconv.Itoa(refreshTime*1000)) + `); ` ` if(window.refreshTime !=...

🐛bug