refactor: rename daisy frontend to mt, copy from classic
Docker Build / Build and Push Docker Image (push) Successful in 4m30s
Docker Build / Build and Push Docker Image (push) Successful in 4m30s
This commit is contained in:
@@ -204,10 +204,10 @@ func UpdateOption(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
case "theme.frontend":
|
||||
if option.Value != "default" && option.Value != "classic" && option.Value != "daisy" {
|
||||
if option.Value != "default" && option.Value != "classic" && option.Value != "mt" {
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"success": false,
|
||||
"message": "无效的主题值,可选值:default(新版前端)、classic(经典前端)、daisy(DaisyUI 前端)",
|
||||
"message": "无效的主题值,可选值:default(新版前端)、classic(经典前端)、mt(MT 前端)",
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user