Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saas-manage
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chehuidong
saas-manage
Commits
83bef069
Commit
83bef069
authored
Nov 09, 2023
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修改
parent
cc77fa5a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/views/saasManage/indexPage.vue
+6
-3
No files found.
src/views/saasManage/indexPage.vue
View file @
83bef069
...
@@ -568,9 +568,9 @@ export default {
...
@@ -568,9 +568,9 @@ export default {
const
l
=
this
.
$loading
({
const
l
=
this
.
$loading
({
background
:
'rgba(0, 0, 0, 0.3)'
,
background
:
'rgba(0, 0, 0, 0.3)'
,
})
})
let
databaseName
if
(
!
this
.
editId
)
{
if
(
!
this
.
editId
)
{
this
.
editForm
.
databaseName
=
databaseName
=
'saas_'
+
this
.
editForm
.
databaseName
'saas_'
+
this
.
editForm
.
databaseName
}
}
const
domain
=
this
.
editForm
.
domain
+
this
.
baseDomain
const
domain
=
this
.
editForm
.
domain
+
this
.
baseDomain
try
{
try
{
...
@@ -578,22 +578,25 @@ export default {
...
@@ -578,22 +578,25 @@ export default {
const
res
=
await
updateManageData
({
const
res
=
await
updateManageData
({
...
this
.
editForm
,
...
this
.
editForm
,
domain
:
domain
,
domain
:
domain
,
databaseName
:
databaseName
,
})
})
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
res
.
message
)
this
.
$message
.
success
(
res
.
message
)
this
.
getList
()
this
.
getList
()
this
.
addVisible
=
false
}
}
}
else
{
}
else
{
const
res
=
await
addManageData
({
const
res
=
await
addManageData
({
...
this
.
editForm
,
...
this
.
editForm
,
domain
:
domain
,
domain
:
domain
,
databaseName
:
databaseName
,
})
})
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
res
.
message
)
this
.
$message
.
success
(
res
.
message
)
this
.
getList
()
this
.
getList
()
this
.
addVisible
=
false
}
}
}
}
this
.
addVisible
=
false
}
catch
(
e
)
{
}
catch
(
e
)
{
this
.
$message
.
warning
(
e
)
this
.
$message
.
warning
(
e
)
}
finally
{
}
finally
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment