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