优化交易分类选择逻辑,调整条件判断并移除高亮样式
Some checks failed
Docker Build & Deploy / Build Docker Image (push) Successful in 15s
Docker Build & Deploy / Deploy to Production (push) Failing after 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Has been skipped

This commit is contained in:
孙诚
2026-01-04 18:33:36 +08:00
parent 9ddf7e3dbd
commit 3ec0dbcd9b
2 changed files with 1 additions and 14 deletions

View File

@@ -256,7 +256,7 @@ const onSubmit = async () => {
const selectClassify = (classify) => {
editForm.classify = classify
if(editForm.id > 0 && editForm.type > 0) {
if(editForm.id > 0 && editForm.type >= 0) {
// 直接保存
onSubmit()
}