let isProduction = process.env.NODE_ENV === 'production' // 访问权限控制 if (isProduction) { Base.submit(null, { url: '/web/psn/firstGet', method: 'get' }, { successCallback: result => { if (result.code === 0) { new Vue({ store, render: h => h(app) }).$mount('#app') } } }) } else { new Vue({ store, render: h => h(app) }).$mount('#app') }