2019-08-26 16:15:41 +00:00
|
|
|
import { APP } from '../_helpers/APP'
|
2019-09-10 12:40:05 +00:00
|
|
|
import Helps from '../_helpers/Helps'
|
2019-08-26 16:15:41 +00:00
|
|
|
|
|
|
|
const Boot = {
|
|
|
|
install (Vue, options) {
|
|
|
|
Vue.mixin({
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
api () {
|
|
|
|
return APP.config.apiUrl
|
|
|
|
},
|
|
|
|
env () {
|
|
|
|
return APP.config.env
|
2019-09-10 12:40:05 +00:00
|
|
|
},
|
2020-05-19 07:12:53 +00:00
|
|
|
platformUrl () {
|
|
|
|
return APP.config.platformUrl
|
|
|
|
},
|
2019-09-10 12:40:05 +00:00
|
|
|
appThumbStyle () {
|
|
|
|
return {
|
|
|
|
right: '2px',
|
|
|
|
borderRadius: '2px',
|
|
|
|
backgroundColor: '#dcdcdc',
|
|
|
|
width: '6px',
|
|
|
|
opacity: 0.75
|
|
|
|
}
|
2019-08-26 16:15:41 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
},
|
|
|
|
filters: {
|
2019-09-10 12:40:05 +00:00
|
|
|
capFirstLetter (value) {
|
|
|
|
return Helps.capFirstLetter(value)
|
|
|
|
}
|
2019-08-26 16:15:41 +00:00
|
|
|
},
|
|
|
|
created () {
|
|
|
|
}
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default Boot
|