var showToastrMessage = function(){}
jQuery(document).ready(function() { showToastrMessage.init() }); //This line gives error saying "showToastrMessage.init is not a function".ERROR TypeError: showToastrMessage.
Uncaught (in promise) TypeError: SVG is not a function 我尝试过以不同的方式导入Svg.js,但这似乎不是问题所在。SVG.Doc('drawing');
let rect = draw.rect(100, 100).attr({fill: "#f06"}) 上面的方法返回Uncaught (in promise) TypeError