优化交易分类选择逻辑,调整条件判断并移除高亮样式
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user