Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
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
2c5c2b59
authored
2025-06-10 15:49:04 +0800
by
zhangmeng
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
车辆
1 parent
26c826fd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
src/viewsPc/booking/car.vue
src/viewsPc/booking/car.vue
View file @
2c5c2b5
...
...
@@ -174,9 +174,11 @@ import { useRouter, useRoute } from 'vue-router'
import
{
useStorage
}
from
'@vueuse/core/index'
import
useUserStore
from
'@/store/modules/user'
import
{
getVehicleByCheckIn
}
from
'@/apiPc/booking'
import
{
computed
}
from
'vue'
const
useStore
=
useUserStore
()
const
user
=
computed
(()
=>
useUserStore
().
user
)
const
{
proxy
}
=
getCurrentInstance
()
const
user
=
useUserStore
().
user
const
router
=
useRouter
()
const
route
=
useRoute
()
const
language
=
useStorage
(
'language'
,
0
)
...
...
@@ -245,6 +247,11 @@ async function changeSelectOut() {
}
async
function
handleSubmit
(
v
)
{
if
(
!
user
.
value
)
{
useStore
.
setVisitor
()
return
}
let
checkOut
=
{}
let
obj
=
{}
if
(
v
==
0
)
{
...
...
@@ -292,7 +299,7 @@ async function handleSubmit(v) {
function
goOrder
(
item
,
car
)
{
if
(
!
user
)
{
if
(
!
user
.
value
)
{
useUserStore
().
setReLogin
()
return
}
...
...
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