| | |
| | | }, |
| | | onShow() { |
| | | console.log('appvue显示'); |
| | | if (!this.globalisconnect && !this.globalisUploadimg) { |
| | | this.$store.dispatch('websocketInit') |
| | | this.changeisconnect(false); |
| | | console.log('appvue的ws'); |
| | | if (!this.globalisconnect && !this.globalisUploadimg && this.globalisLogin) { |
| | | if (!this.is_open_socket) { |
| | | this.$store.dispatch('websocketInit') |
| | | this.changeisconnect(true); |
| | | console.log('appvue的ws'); |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | ...mapMutations(['changeisconnect']) |
| | | }, |
| | | computed: { |
| | | ...mapState(['globalisconnect', 'globalisUploadimg', 'globalisLogin']) |
| | | ...mapState(['globalisconnect', 'globalisUploadimg', 'globalisLogin', 'is_open_socket']) |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | |
| | | @font-face { |
| | | font-family: siYuanLight; |
| | | src: url('https://mx.jzeg.cn:9095/appimg/fonts/siyuannormal.OTF'); |
| | | src: url('https://mx.jzeg.cn:9096/appimg/fonts/siyuannormal.OTF'); |
| | | } |
| | | |
| | | @font-face { |
| | | font-family: weighting; |
| | | src: url('https://mx.jzeg.cn:9095/appimg/fonts/weighting.TTF'); |
| | | src: url('https://mx.jzeg.cn:9096/appimg/fonts/weighting.TTF'); |
| | | } |
| | | |
| | | body { |