Files
pgserver3.0/pgapp/main.js
annnj-company 130c1026c4 first commit
2026-04-17 18:29:53 +08:00

25 lines
519 B
JavaScript

import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
Vue.use(plugins)
Vue.config.productionTip = false
Vue.prototype.$store = store
App.mpType = 'app'
const app = new Vue({
...App
})
app.$mount()
app.use(function(req, res, next)
{
res.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
res.setHeader("Pragma", "no-cache"); res.setHeader("Expires", "0"); next();
});