Merge pull request '删除登陆页面账号密码,后台点击量显示异常' (#1) from sysnix into master

Reviewed-on: http://localhost:3000/sysnix/blog/pulls/1
This commit is contained in:
sysnix 2023-11-23 04:48:27 +08:00
commit 86516dc98e
2 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ func (*articleService) PageArticle(page int, itemsPerPage int) model.Page[any] {
// content[i].View = view // content[i].View = view
var vo = struct { var vo = struct {
model.BlogArticle model.BlogArticle
View int64 View int64 `json:"view"`
}{v, view} }{v, view}
ret = append(ret, vo) ret = append(ret, vo)

View File

@ -99,8 +99,8 @@
v => !!v || '不能为空', v => !!v || '不能为空',
], ],
username: "admin", username: "",
password: "littlehui.com!23", password: "",
captcha: '#{.captcha}' captcha: '#{.captcha}'
}, },
methods: { methods: {