Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
98f128c8
authored
2024-05-20 10:34:30 +0800
by
yyx
1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
c4c61597
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
src/viewsPc/seat/ticket-detail.vue
src/viewsPc/seat/ticket-detail.vue
View file @
98f128c
...
...
@@ -81,15 +81,15 @@ const select_form = reactive({
// 去选座
async
toSelectSeat
()
{
// 检查登录
const
ticketUserToken
=
getToken
();
if
(
!
ticketUserToken
)
{
const
userId
=
userStore
.
user
?.
userId
;
// [TODO] 从原项目中取已登录的用户ID
if
(
!
userId
)
{
// 未登录,打开登录弹窗
return
userStore
.
setVisitor
();
}
await
login
(
userId
);
// const ticketUserToken = getToken();
// if (!ticketUserToken) {
const
userId
=
userStore
.
user
?.
userId
;
// [TODO] 从原项目中取已登录的用户ID
if
(
!
userId
)
{
// 未登录,打开登录弹窗
return
userStore
.
setVisitor
();
}
// }
await
login
(
userId
);
if
(
!
select_form
.
venueItem
?.
id
)
return
ElMessage
({
type
:
"warning"
,
message
:
"请选择时间"
});
...
...
杨炀
@yangyang
mentioned in commit
a48b253a
2024-05-20 05:25:52 UTC
mentioned in commit
a48b253a
Toggle commit list
Write
Preview
Styling with
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