From 3c16f77cb0f67eaba31ee71681e8b88a7727cfbd Mon Sep 17 00:00:00 2001 From: wangjiahai <1556608@qq.com> Date: Thu, 23 Nov 2023 13:58:01 +0800 Subject: [PATCH] 111 --- main.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/main.js b/main.js index a7ea4bb..83a4af2 100644 --- a/main.js +++ b/main.js @@ -13,6 +13,20 @@ Vue.prototype.$api = api Vue.config.productionTip = false App.mpType = 'app' +import { + stringIsEmpty, + stringIsNotEmpty +} from "@/common/empty.js" +Vue.prototype.stringIsEmpty = stringIsEmpty +Vue.prototype.stringIsNotEmpty = stringIsNotEmpty + +import { + shortToast, + longToast +} from "@/common/toast.js" +Vue.prototype.shortToast = shortToast +Vue.prototype.longToast = longToast + const app = new Vue({ store, ...App