Commit c7d75452 by 李伟康

Merge branch 'V4.56.0' of http://192.168.3.233:8090/glsx/gl_tape into V4.56.0

2 parents 797c8275 835faa9d
...@@ -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
......
...@@ -555,6 +555,12 @@ export default { ...@@ -555,6 +555,12 @@ export default {
} }
}) })
} }
},
beforeDestroy() {
if (this.time) {
clearInterval(this.time)
this.time = null
}
} }
} }
</script> </script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!