Pārlūkot izejas kodu

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

johnsen 10 mēneši atpakaļ
vecāks
revīzija
bdc612e8c7
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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