Explorar o código

fix: 移动端脚本提示信息兼容移动端

johnsen hai 10 meses
pai
achega
bdc612e8c7
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/main.js

+ 1 - 0
src/main.js

@@ -29,6 +29,7 @@ import Vant from "vant";
 Vue.use(ibps)
 Vue.use(Vant); // 导入vant
 Vue.prototype.$action = ActionUtils; // 全局action
+Vue.prototype.$message = ActionUtils; // 兼容PC端
 Vue.prototype.$utils = utils; // 全局帮助类
 Vue.prototype.$common = common; // 通用请求
 Vue.prototype.$methCommon = methCommon