This commit is contained in:
wangjiahai
2023-11-23 13:58:01 +08:00
parent 57fe3c4e98
commit 3c16f77cb0

14
main.js
View File

@@ -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