111
This commit is contained in:
14
main.js
14
main.js
@@ -13,6 +13,20 @@ Vue.prototype.$api = api
|
|||||||
Vue.config.productionTip = false
|
Vue.config.productionTip = false
|
||||||
App.mpType = 'app'
|
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({
|
const app = new Vue({
|
||||||
store,
|
store,
|
||||||
...App
|
...App
|
||||||
|
|||||||
Reference in New Issue
Block a user