Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
Project
Project
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
徐俊
yn-science-front
Commits
0bb66b47
Commit
0bb66b47
authored
4 months ago
by
徐俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xujun
parent
6341116c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
deviceEdit.vue
src/views/report/project/components/deviceEdit.vue
+1
-1
deviceInfo.vue
src/views/report/project/components/deviceInfo.vue
+10
-7
No files found.
src/views/report/project/components/deviceEdit.vue
View file @
0bb66b47
...
...
@@ -362,7 +362,7 @@ export default {
},
},
created
()
{
console
.
log
(
this
.
deviceList
)
},
methods
:
{
calNumberAmount
()
{
...
...
This diff is collapsed.
Click to expand it.
src/views/report/project/components/deviceInfo.vue
View file @
0bb66b47
...
...
@@ -288,6 +288,8 @@ export default {
},
},
created
()
{
if
(
this
.
deviceList
)
this
.
calNumberAmount
()
},
methods
:
{
calNumberAmount
()
{
...
...
@@ -318,12 +320,12 @@ export default {
this
.
calNumberAmount
();
},
},
watch
:
{
deviceList
:
{
handler
(
deviceList
)
{
if
(
!!
deviceList
)
this
.
calNumberAmount
();
},
},
},
//
watch: {
//
deviceList: {
//
handler(deviceList) {
//
if (!!deviceList) this.calNumberAmount();
//
},
//
},
//
},
};
</
script
>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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