ipmr:规范插件css目录
parent
3115519d55
commit
6915d8a0a9
|
|
@ -525,10 +525,9 @@
|
||||||
}()
|
}()
|
||||||
})
|
})
|
||||||
}("function" == typeof define && define.amd ? define : function (e, t) {
|
}("function" == typeof define && define.amd ? define : function (e, t) {
|
||||||
// TODO 源码修改处
|
|
||||||
// "undefined" != typeof module && module.exports ? module.exports = t(require("jquery")) : window.toastr = t(window.jQuery)
|
// "undefined" != typeof module && module.exports ? module.exports = t(require("jquery")) : window.toastr = t(window.jQuery)
|
||||||
layui.define(["jquery"], function (exports) {
|
layui.define(["jquery"], function (exports) {
|
||||||
exports("okToastr", t(layui.jquery));
|
exports("okToastr", t(layui.jquery));
|
||||||
}).addcss("../lay/okmodules/toastr.min.css");
|
}).addcss("okmodules/toastr.min.css");
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=toastr.js.map
|
//# sourceMappingURL=toastr.js.map
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@
|
||||||
layui.use(["okToastr"], function () {
|
layui.use(["okToastr"], function () {
|
||||||
let okToastr = layui.okToastr;
|
let okToastr = layui.okToastr;
|
||||||
|
|
||||||
|
okToastr.options.closeButton = true;
|
||||||
|
|
||||||
okToastr.info("ok-admin");
|
okToastr.info("ok-admin");
|
||||||
okToastr.success("ok-admin");
|
okToastr.success("ok-admin");
|
||||||
okToastr.warning("ok-admin");
|
okToastr.warning("ok-admin");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue