Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yanshouyi-Minipro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
xinzhedeai
yanshouyi-Minipro
Commits
da6fbc73
Commit
da6fbc73
authored
Mar 18, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add:clearMeasureVal
parent
3894b0be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
index.js
store/index.js
+6
-1
No files found.
store/index.js
View file @
da6fbc73
...
...
@@ -34,6 +34,11 @@ const store = createStore({
version
:
'
shuishen
'
// 系统版本 默认水深
},
mutations
:
{
clearMeasureVal
(
state
,
testRes
){
state
.
actualDepth
=
''
state
.
actualWaterLevel
=
''
state
.
actualHeat
=
''
},
setMeasureVal
(
state
,
testRes
){
if
(
testRes
.
power1
){
// 仪器电量
state
.
power1
=
testRes
.
power1
...
...
@@ -51,7 +56,7 @@ const store = createStore({
if
(
testRes
.
actualWaterLevel
){
// 实测孔深
state
.
actualWaterLevel
=
testRes
.
actualWaterLevel
}
if
(
testRes
.
actualHeat
){
// 实测
孔深
if
(
testRes
.
actualHeat
){
// 实测
温度
state
.
actualHeat
=
testRes
.
actualHeat
}
},
...
...
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