瀏覽代碼

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

johnsen 10 月之前
父節點
當前提交
bdc612e8c7
共有 1 個文件被更改,包括 1 次插入0 次删除
  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