Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 172f654a
authored
Sep 03, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 页面销毁去掉定时器
1 parent
bb9062a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
main.js
pages/boutique/tool/components/ConfirmOrder.vue
main.js
View file @
172f654
...
@@ -15,13 +15,11 @@ import MessageBox from './components/MessageBox/index'
...
@@ -15,13 +15,11 @@ import MessageBox from './components/MessageBox/index'
import
wnCanvas
from
'./components/Canvas/wn-canvas'
import
wnCanvas
from
'./components/Canvas/wn-canvas'
import
UpdateBox
from
'./components/UpdateBox'
import
UpdateBox
from
'./components/UpdateBox'
import
webView
from
'./components/WebView'
import
webView
from
'./components/WebView'
import
debounce
from
'./utils/debounce.js'
Vue
.
use
(
webView
)
Vue
.
use
(
webView
)
Vue
.
component
(
'GlsxImage'
,
GlsxImage
)
Vue
.
component
(
'GlsxImage'
,
GlsxImage
)
Vue
.
component
(
'MessageBox'
,
MessageBox
)
Vue
.
component
(
'MessageBox'
,
MessageBox
)
Vue
.
component
(
'wnCanvas'
,
wnCanvas
)
Vue
.
component
(
'wnCanvas'
,
wnCanvas
)
Vue
.
component
(
'UpdateBox'
,
UpdateBox
)
Vue
.
component
(
'UpdateBox'
,
UpdateBox
)
Vue
.
directive
(
'debounce'
,
debounce
)
Vue
.
config
.
productionTip
=
false
Vue
.
config
.
productionTip
=
false
App
.
mpType
=
'app'
App
.
mpType
=
'app'
// Vue.prototype.$ossDomain = config.OSS_DOMAIN
// Vue.prototype.$ossDomain = config.OSS_DOMAIN
...
...
pages/boutique/tool/components/ConfirmOrder.vue
View file @
172f654
...
@@ -555,6 +555,12 @@ export default {
...
@@ -555,6 +555,12 @@ export default {
}
}
})
})
}
}
},
beforeDestroy
()
{
if
(
this
.
time
)
{
clearInterval
(
this
.
time
)
this
.
time
=
null
}
}
}
}
}
</
script
>
</
script
>
...
...
Write
Preview
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