For comparing String to Enum type you should convert enum to string and then compare them. For that you can use toString() method or name() ...
確定! 回上一頁