我在项目中使用带有vuetify框架的vuejs,并且所有组件都能很好地工作,但是 v-dialog(https://vuetifyjs.com/en/components/dialogs#api)不显示覆盖,但其他属性起作用:/
我没有使用Hide-overlay属性
app.js
require('./bootstrap');
import 'vuetify/dist/vuetify.min.css'
import Vue from 'vue'
import VueRouter from 'vue-router'
import Store from './store'
import vuetify from 'vuetify'
import Desk from "../js/components/pages/Desk";
Vue.use(Store)
Vue.use(vuetify, {
theme: {
primary: '#f24055',
secondary: '#3f4167',
accent: '#ffffff',
error: '#ffffff'
},
rtl: true
})
Vue.use(VueRouter)
Vue.use(Desk)
const routes = [
{path: '/desk', component: Desk},
]
const router = new VueRouter({
mode: 'history',
hash: false,
routes
})
new Vue({
router,
Store
}).$mount('#app')
很多Tnx