1.npm安装x2jsnpm i x2js(报错的话下面有解决方法)2.全局挂载main.jsimport x2js from 'x2js' //xml数据处理插件Vue.prototype.$x2js = new x2js() //全局方法挂载3.
確定! 回上一頁