Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d82cd151
authored
Dec 24, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
002b07b3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
src/views/guestGroup/add.vue
vue.config.js
src/views/guestGroup/add.vue
View file @
d82cd15
...
@@ -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
})
}
}
})
})
},
},
...
...
vue.config.js
View file @
d82cd15
...
@@ -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
:
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment