Frontend checkbox after check and uncheck will still remain as checked
dispensable opened this issue · 2 comments
dispensable commented
- check the checkbox
- uncheck the checkbox
- submmit and the value is checked value
LeoQuote commented
前端传过去的值是字符串 "false",后端在这里只要有值就是 True
helpdesk/helpdesk/models/action.py
Lines 74 to 77 in bb8ce66
在这改一下就行
dispensable commented
哈哈哈,这 if bool = true 给我看笑了