Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pangchong
mocp-uniapp
Commits
b42b9c02
Commit
b42b9c02
authored
Jun 07, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整
parent
2c981718
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/mocp/store/base.js
+1
-1
src/pages/modules/mocp/tab/index.vue
+2
-2
No files found.
src/mocp/store/base.js
View file @
b42b9c02
...
@@ -8,7 +8,7 @@ const useBaseStore = defineStore('base', {
...
@@ -8,7 +8,7 @@ const useBaseStore = defineStore('base', {
deviceNumSelect
:
[],
//机号
deviceNumSelect
:
[],
//机号
terminalSelect
:
[]
//航站下拉数据
terminalSelect
:
[]
//航站下拉数据
},
},
allBasicParams
:
{}
allBasicParams
:
{}
//系统基础参数
}
}
},
},
getters
:
{
getters
:
{
...
...
src/pages/modules/mocp/tab/index.vue
View file @
b42b9c02
...
@@ -26,8 +26,8 @@ const baseStore = useBaseStore()
...
@@ -26,8 +26,8 @@ const baseStore = useBaseStore()
const
weatherInfo
=
ref
()
const
weatherInfo
=
ref
()
const
findWeatherSynopsesMessages
=
async
()
=>
{
const
findWeatherSynopsesMessages
=
async
()
=>
{
const
res
=
await
findWeatherSynopsesMessagesApi
({
airportCode
:
userStore
.
userInfo
.
terminal
})
const
res
=
await
findWeatherSynopsesMessagesApi
({
airportCode
:
userStore
.
userInfo
.
terminal
})
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
&&
res
.
data
)
{
weatherInfo
.
value
=
res
.
data
?.
at
(
-
1
)
weatherInfo
.
value
=
res
.
data
[
res
.
data
.
length
-
1
]
uni
.
$emit
(
'sendWeatherInfo'
,
weatherInfo
.
value
)
uni
.
$emit
(
'sendWeatherInfo'
,
weatherInfo
.
value
)
}
}
}
}
...
...
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