在vue里面引用jquery封装的第三方插件,
插件是jauery的扩展封装的函数
$.fn.xs999 = function(u, g) {
y = {
color: false,
}
$.extend(y, g);
$(this).each(function() {
new b($(this), u, y);
});
}
在vue组件里面 使用$("").xs999();提示xs999 is not defined
怎么解决?