layer错误笔记

Uncaught SyntaxError: Invalid shorthand property initializer

这句话的大概意思就是:未补获得语法错误 初始化无效的写法

错误就出在我把

layer.msg(response.message,{icon:1});

写成了:

layer.msg(response.message,{icon=1});

猜你喜欢

转载自blog.csdn.net/a18707449798/article/details/82724220