Skip to content

Commit e744dc9

Browse files
committed
chore: wip
1 parent c293849 commit e744dc9

File tree

20 files changed

+27
-27
lines changed

20 files changed

+27
-27
lines changed

context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ func (p *Context) useHandlerParser() error {
609609
return err
610610
}
611611

612-
// 初始化模板实例
612+
// 初始化模板
613613
func (p *Context) InitTemplate(ctx *Context) error {
614614
var (
615615
err error

template/admin/login/login.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (p *Template) Bootstrap() interface{} {
4141
return p
4242
}
4343

44-
// 初始化路由映射
44+
// 加载初始化路由
4545
func (p *Template) LoadInitRoute() interface{} {
4646
p.GET(p.IndexPath, p.Render) // 登录页面路由
4747
p.POST(p.HandlePath, p.Handle) // 登录执行路由
@@ -52,7 +52,7 @@ func (p *Template) LoadInitRoute() interface{} {
5252
return p
5353
}
5454

55-
// 初始化模板
55+
// 加载初始化数据
5656
func (p *Template) LoadInitData(ctx *quark.Context) interface{} {
5757

5858
// 初始化数据对象

template/admin/resource/actions/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ type Action struct {
9393
ShowOnDetailExtra bool `json:"showOnDetailExtra"` // 在详情页扩展栏展示
9494
}
9595

96-
// 初始化模板
96+
// 加载初始化数据
9797
func (p *Action) LoadInitData(ctx *quark.Context) interface{} {
9898
p.ActionType = "ajax"
9999

template/admin/resource/searches/cascader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type Cascader struct {
1010
CascaderOptions []cascader.Option
1111
}
1212

13-
// 初始化模板
13+
// 加载初始化数据
1414
func (p *Cascader) LoadInitData(ctx *quark.Context) interface{} {
1515
p.Component = "cascaderField"
1616

template/admin/resource/searches/date.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Date struct {
66
Search
77
}
88

9-
// 初始化模板
9+
// 加载初始化数据
1010
func (p *Date) LoadInitData(ctx *quark.Context) interface{} {
1111
p.Component = "dateField"
1212

template/admin/resource/searches/date_range.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type DateRange struct {
66
Search
77
}
88

9-
// 初始化模板
9+
// 加载初始化数据
1010
func (p *DateRange) LoadInitData(ctx *quark.Context) interface{} {
1111
p.Component = "dateRangeField"
1212

template/admin/resource/searches/datetime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type Datetime struct {
66
Search
77
}
88

9-
// 初始化模板
9+
// 加载初始化数据
1010
func (p *Datetime) LoadInitData(ctx *quark.Context) interface{} {
1111
p.Component = "datetimeField"
1212

template/admin/resource/searches/datetime_range.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type DatetimeRange struct {
66
Search
77
}
88

9-
// 初始化模板
9+
// 加载初始化数据
1010
func (p *DatetimeRange) LoadInitData(ctx *quark.Context) interface{} {
1111
p.Component = "datetimeRangeField"
1212

template/admin/resource/searches/radio.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type Radio struct {
1010
RadioOptions []radio.Option
1111
}
1212

13-
// 初始化模板
13+
// 加载初始化数据
1414
func (p *Radio) LoadInitData(ctx *quark.Context) interface{} {
1515
p.Component = "radioField"
1616
return p

template/admin/resource/searches/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type Search struct {
1616
Api string `json:"api"`
1717
}
1818

19-
// 初始化模板
19+
// 加载初始化数据
2020
func (p *Search) LoadInitData(ctx *quark.Context) interface{} {
2121
p.Component = "textField"
2222

0 commit comments

Comments
 (0)