perf 改进表格图片、文件展示组件使用方式,减少冗余

fix 修复生成树表时选项加载错误
chore 清理生成代码cli包中的测试文件
This commit is contained in:
孟帅
2024-07-25 16:47:59 +08:00
parent a37d088360
commit 804d5d5e59
121 changed files with 238 additions and 2799 deletions

View File

@@ -3,7 +3,7 @@
// @Copyright Copyright (c) 2024 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.1
// @AutoGenerate Version 2.15.7
package sysin
import (
@@ -21,6 +21,8 @@ import (
type NormalTreeDemoUpdateFields struct {
Title string `json:"title" dc:"标题"`
Pid int64 `json:"pid" dc:"上级"`
Level int `json:"level" dc:"关系树级别"`
Tree string `json:"tree" dc:"关系树"`
CategoryId int64 `json:"categoryId" dc:"测试分类"`
Description string `json:"description" dc:"描述"`
Sort int `json:"sort" dc:"排序"`
@@ -32,6 +34,8 @@ type NormalTreeDemoUpdateFields struct {
type NormalTreeDemoInsertFields struct {
Title string `json:"title" dc:"标题"`
Pid int64 `json:"pid" dc:"上级"`
Level int `json:"level" dc:"关系树级别"`
Tree string `json:"tree" dc:"关系树"`
CategoryId int64 `json:"categoryId" dc:"测试分类"`
Description string `json:"description" dc:"描述"`
Sort int `json:"sort" dc:"排序"`
@@ -138,4 +142,4 @@ func (t *NormalTreeDemoTreeOption) PID() int64 {
// SetChildren 设置子节点数据
func (t *NormalTreeDemoTreeOption) SetChildren(children []tree.Node) {
t.Children = children
}
}