Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
JuyuanPrimarySchool
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
vue-project
JuyuanPrimarySchool
Commits
1c66aea5
Commit
1c66aea5
authored
Jul 15, 2021
by
zsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
834da9d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
runner
runner
+1
-1
App.vue
src/App.vue
+8
-4
No files found.
runner
@
71c72f3e
Subproject commit
fd7fc1d9b5f208d456799083dd39d5d01dfd7a26
Subproject commit
71c72f3e1aeff4aea211f74cc3e231a00b11c6c3
src/App.vue
View file @
1c66aea5
...
@@ -15,16 +15,20 @@ export default {
...
@@ -15,16 +15,20 @@ export default {
},
},
mounted
()
{
mounted
()
{
refreshScale
()
this
.
initScale
()
window
.
addEventListener
(
'resize'
,
refreshScale
)
},
},
beforeDestroy
()
{
beforeDestroy
()
{
window
.
removeEventListener
(
'resize'
)
window
.
removeEventListener
(
'resize'
)
},
},
methods
:
{}
methods
:
{
initScale
()
{
refreshScale
(
7550
,
1216
,
7550
,
1216
)
window
.
addEventListener
(
'resize'
,
refreshScale
)
}
}
}
}
</
script
>
</
script
>
...
...
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