readOnlyError.js?b1f8:2 Uncaught (in promise) Error: “xxxx” is read-only 我的出错原因,用const定义了一个要修改的变量,改成let解决