一开始是这样的
<body onclick="location.href='{% url "index" %}'">
只需要给目标元素加一条样式规则 cursor: pointer;
<body style="cursor:pointer" onclick="location.href='{% url "index" %}'">
即可
一开始是这样的
<body onclick="location.href='{% url "index" %}'">
只需要给目标元素加一条样式规则 cursor: pointer;
<body style="cursor:pointer" onclick="location.href='{% url "index" %}'">
即可