Vue自定义全局函数

自定义全局函数在main.js里面写:

Vue.prototype.$ksort = () => {
  
};

猜你喜欢

转载自blog.csdn.net/skyblacktoday/article/details/80284696