Commit d82cd151 by 胡悦

提交

1 parent 002b07b3
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
type: 'success', type: 'success',
message: '操作成功!' message: '操作成功!'
}) })
this.handleCancel() this.$router.push('/guestGroup/index')
} }
}) })
.catch(err => { .catch(err => {
...@@ -266,6 +266,9 @@ export default { ...@@ -266,6 +266,9 @@ export default {
} }
// this.$refs.welcome.updateList(res.attachmentList) // this.$refs.welcome.updateList(res.attachmentList)
this.selectData = res.userList this.selectData = res.userList
this.$nextTick(()=>{
this.editStatus = false
})
} }
}) })
}, },
......
...@@ -2,11 +2,11 @@ const path = require('path') ...@@ -2,11 +2,11 @@ const path = require('path')
const webpack = require('webpack') const webpack = require('webpack')
const packageName = require('./package.json').name const packageName = require('./package.json').name
const node_env = process.env.NODE_ENV === 'production' const node_env = process.env.NODE_ENV === 'production'
// const baseUrl = process.env.VUE_APP_BASE_URL; // const baseUrl = process.env.VUE_APP_BASE_URL;
const publicPath = node_env ? `/child/${packageName}/` : '/' const publicPath = node_env ? `/child/${packageName}/` : '/'
const baseUrl = '/' const baseUrl = '/'
const resolve = dir => path.join(__dirname, dir) const resolve = dir => path.join(__dirname, dir)
const CDN_DOMAIN = 'https://cdn.bootcdn.net/' const CDN_DOMAIN = 'https://img02.glsx.com.cn/'
const cdn = { const cdn = {
css: [ css: [
`${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css` `${CDN_DOMAIN}ajax/libs/element-ui/2.11.1/theme-chalk/index.css`
...@@ -23,7 +23,7 @@ const cdn = { ...@@ -23,7 +23,7 @@ const cdn = {
} }
module.exports = { module.exports = {
outputDir: `../dist/${packageName}`, outputDir: `../dist/${packageName}`,
publicPath ,//node_env ? baseUrl : '/' publicPath,//node_env ? baseUrl : '/'
assetsDir: 'static', assetsDir: 'static',
configureWebpack: { configureWebpack: {
resolve: { resolve: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!