添加设置功能

This commit is contained in:
2020-09-19 14:32:07 +08:00
parent 4c6ad37f3a
commit 26cdfd79b2
3 changed files with 112 additions and 9 deletions

View File

@ -30,6 +30,7 @@ import {
} from '@fortawesome/free-regular-svg-icons'
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
import hljs from 'highlight.js'
import { Loading } from 'element-ui'
import Swiper from '../components/Swiper'
import Slide from '../components/Slide'
@ -61,6 +62,7 @@ library.add(
Vue.component('Icon', FontAwesomeIcon)
Vue.component('Swiper', Vue.extend(Swiper))
Vue.component('Slide', Vue.extend(Slide))
Vue.use(Loading.directive)
export default function (ctx, inject) {
inject('getHatValue', (count, hotConst = 1000) => {