0

我从 Jsprettier 看到这个错误

------------------
 JsPrettier ERROR 
------------------

Prettier reported the following output:


[error] src/views/...: SyntaxError: Unexpected token (46:9)
[error]   44 |  currentTimezone = moment.tz.guess();
[error]   45 |
[error] > 46 |   const TimeZone = () => {
[error]      |         ^
[error]   47 |
[error]   48 |     return (
[error]   49 |       <div>

在此处输入图像描述

4

0 回答 0