I use ajax to submit the request
status writes a Boolean type of falsebut the background gets the string 'false'. How to deal with this situation better? I always feel that it can be judged directly String is not good
Everything passed in the HTTP protocol is a string. It is not a programming language and has no data type definition.
Replace it with 0 and 1
Semantic, pending, passed, failedpending, passed, failednormal, abnormalnormal, abnormal Wait
pending
passed
failed
normal
abnormal
Everything passed in the HTTP protocol is a string. It is not a programming language and has no data type definition.
Replace it with 0 and 1
Semantic,
pending
,passed
,failed
pending
,passed
,failed
normal
,abnormal
normal
,abnormal
Wait