起因是想让props里的id发生变化时更新localStorage里的'id'。 报错的missing semicolon的字面意思是“丢失分号”,但标点符号我都写对了,错误显然没有这么简单。
確定! 回上一頁