Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
7537a966
Commit
7537a966
authored
Jun 05, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复支付bug
parent
798f2bc5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Index.vue
src/views/Index.vue
+0
-2
CreateEnterprise.vue
src/views/components/Order/CreateEnterprise.vue
+9
-1
No files found.
src/views/Index.vue
View file @
7537a966
...
...
@@ -270,9 +270,7 @@ const redicetTo = (path:string)=>{
path
})
}
if
(
router
.
currentRoute
.
value
.
params
.
firm
&&
router
.
currentRoute
.
value
.
params
.
firm
==
1
)
{
delete
router
.
currentRoute
.
value
.
params
[
'firm'
]
createEnterpriseHandler
()
}
</
script
>
...
...
src/views/components/Order/CreateEnterprise.vue
View file @
7537a966
...
...
@@ -33,6 +33,7 @@ import OrderService from "@/services/OrderService";
import
{
ElLoading
,
ElMessage
}
from
"element-plus"
;
import
{
onMounted
,
ref
}
from
"vue"
;
import
{
useUserStore
}
from
"@/store"
;
import
{
useRouter
}
from
"vue-router"
;
const
props
=
defineProps
({
orderId
:
{
...
...
@@ -50,6 +51,7 @@ const enterpriseRef = ref()
const
groupName
=
ref
(
''
)
const
errorMsg
=
ref
(
''
)
const
loading
=
ref
(
false
)
const
router
=
useRouter
();
const
validator
=
()
=>
{
if
(
groupName
.
value
==
''
)
errorMsg
.
value
=
'请填写你的团队/企业名称'
...
...
@@ -77,7 +79,13 @@ const changeUserInfo = (userInfo:any)=>{
})
setTimeout
(()
=>
{
useUser
.
setNewUserInfo
(
userInfo
)
location
.
reload
()
if
(
router
.
currentRoute
.
value
.
params
.
firm
&&
router
.
currentRoute
.
value
.
params
.
firm
==
1
)
{
emit
(
'close'
)
router
.
push
({
path
:
`/space`
})
}
else
location
.
reload
()
},
1000
);
}
...
...
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