Mpvue introduces vue-amap to report error

how to use Amap in mpvue
introduced vue-amap error Cannot read property "AMap" of undefined

import VueAMap from "vue-amap";
Vue.use(VueAMap);
VueAMap.initAMapApiLoader({
  key: "b8f04aa5ba51b2d24b92fe4e8903e40f",
  plugin: ["AMap.Autocomplete", "AMap.PlaceSearch", "AMap.Scale", "AMap.OverView", "AMap.ToolBar", "AMap.MapType", "AMap.PolyEditor", "AMap.CircleEditor"],
  //  sdk  1.4.4
  v: "1.4.4"
});
"mpvue": "^1.0.11",
"vue-amap": "^0.5.8",

VM423:1 thirdScriptError
sdk uncaught third Error
Cannot read property "AMap" of undefined
TypeError: Cannot read property" AMap" of undefined

at t.load (http://127.0.0.1:46963/appservice/common/vendor.js:7886:40)
at Object.s [as initAMapApiLoader] (http://127.0.0.1:46963/appservice/common/vendor.js:6688:67)
at Object.<anonymous> (http://127.0.0.1:46963/appservice/app.js:22:52)
at __webpack_require__ (http://127.0.0.1:46963/appservice/common/manifest.js:71:31)
at Object.webpackJsonpCallback [as webpackJsonp] (http://127.0.0.1:46963/appservice/common/manifest.js:38:26)
at http://127.0.0.1:46963/appservice/app.js:5:8
at require (http://127.0.0.1:46963/appservice/__dev__/WAService.js:22:26841)
at http://127.0.0.1:46963/appservice/appservice?t=1541426190666:1205:9
Oct.21,2021

I also have this problem. I don't know how lz solved it.

Menu