拓展类型 自定义工具类型
This commit is contained in:
@@ -16,6 +16,9 @@ func myCardsViews(w fyne.Window) fyne.CanvasObject {
|
||||
case models.ToolTypeErlang:
|
||||
erlangCard := repo.ErlangCardRepo.Find(global.DB, baseCard.UUID)
|
||||
items = append(items, showView.ErlangCardView(w, &erlangCard))
|
||||
case models.ToolTypeExecFiles:
|
||||
var baseCardCopy = baseCard
|
||||
items = append(items, showView.ExecFileCardView(w, &baseCardCopy))
|
||||
}
|
||||
}
|
||||
return container.NewBorder(nil, nil, nil, nil, container.NewScroll(
|
||||
|
||||
Reference in New Issue
Block a user