使用单引号。
error += '<li> this is not the name "....." </li>n';
或转义双引号。
error += "<li> this is not the name "....." </li>n";
上一篇 为什么我的异步函数返回Promise { }而不是值?
下一篇 JSON.stringify不适用于普通的Javascript数组
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号