[root@localhost backend]# vim /usr/local/python3/lib/python3.8/site-packages/rest_framework_simplejwt/backends.py +43
    token = jwt.encode(jwt_payload, self.signing_key, algorithm=self.algorithm)return token.decode('utf-8')
    return token.encode("utf-8").decode('utf-8')
问 访问前端页面,点击登录报错:'str' object has no attribute 'decode'