mirror of https://github.com/layui/layui
update
parent
fc78ba0e47
commit
4b6ea9efb5
|
@ -55,7 +55,7 @@
|
|||
// 异常提示
|
||||
var error = function(msg, type, isDebug) {
|
||||
type = type || 'log';
|
||||
msg = '[Layui]: ' + msg;
|
||||
msg = '[Layui warn]: ' + msg;
|
||||
|
||||
if (window.console) {
|
||||
console[type] ? console[type](msg) : console.log(msg);
|
||||
|
|
Loading…
Reference in New Issue