先给报错信息:module 'libs/map/@/libs/map_min.js' is not defined, require args is '@/libs/map_min.js'
查看我引用方法:

本人查阅资料发现 是 require 使用的是 commonJS方式引用说这个适配Vue2可我项目是Vue3应该使用ES6语法糖

然后我有跑了项目发现BUG

我 new AMapWx 不是构造函数
这时候就想到如果我引用的方法适配Vue3而不是适配Vue2那么我导出的JS文件方法应该也存在Vue2导出和Vue3导出差别!!!然后百度了.........
Vue2导出

Vue3导出

然后自己尝试修改....... bug 解决了!!!
解决BUG
1、使用 import 模块引入

2、模块导出使用 使用defineComponent

3、解决!!!!!
