Merge branch 'master' of http://139.186.142.91:10010/r/productDev/funingyunwei
| | |
| | | VUE_APP_ROUTER_MODE = 'hash' |
| | | |
| | | # 项ç®ä¸ä¸æè·¯å¾ |
| | | VUE_APP_CONTEXT_PATH = '/' |
| | | VUE_APP_CONTEXT_PATH = '/fn_admin/#/' |
| | | |
| | | # æ¥å£åç¼ |
| | | VUE_APP_API_PREFIX = '/gateway_interface' |
| | |
| | | .env.*.local |
| | | unpackage |
| | | admin |
| | | fn_admin |
| | | # Log files |
| | | npm-debug.log* |
| | | yarn-debug.log* |
| | |
| | | |
| | | const router = new VueRouter({ |
| | | // + (process.env.VUE_APP_ROUTER_MODE === 'hash' ? '#' : '') |
| | | // base: process.env.VUE_APP_CONTEXT_PATH, |
| | | base: '/', |
| | | mode: 'hash', |
| | | routes: [ |
| | | // ç»å½ |
| | |
| | | } |
| | | Cookies.set('dm_user_token', res) |
| | | window.location.href = process.env.VUE_APP_CONTEXT_PATH |
| | | // this.$router.push('') |
| | | }) |
| | | .catch(e => { |
| | | this.refreshCaptcha() |
| | |
| | | // 详ç»é
置请åèhttps://cli.vuejs.org/zh/config/#vue-config-js |
| | | // const outputDir = process.env.VUE_APP_CONTEXT_PATH.substring(1, process.env.VUE_APP_CONTEXT_PATH.length - 1) |
| | | const path = require('path') |
| | | |
| | | function resolve (dir) { |
| | | return path.join(__dirname, dir) |
| | | } |
| | | module.exports = { |
| | | publicPath: process.env.VUE_APP_CONTEXT_PATH, |
| | | outputDir: 'admin', |
| | | publicPath: './', |
| | | outputDir: 'fn_admin', |
| | | assetsDir: 'static', |
| | | lintOnSave: false, |
| | | devServer: { |