mirror of
https://github.com/Binaryify/vue-tetris.git
synced 2026-01-21 05:57:57 +08:00
优化链接
This commit is contained in:
@@ -12,8 +12,9 @@ export default {
|
||||
github: () => i18n.github[lan],
|
||||
QRCode: () => i18n.QRCode[lan],
|
||||
QRTitle: () => i18n.QRNotice[lan],
|
||||
QRSrc: () => "http://binaryify.github.io/vue-tetris/static/qr.jpeg"
|
||||
|
||||
QRSrc: () =>
|
||||
window.location.protocol +
|
||||
'//binaryify.github.io/vue-tetris/static/qr.jpeg'
|
||||
},
|
||||
mounted() {
|
||||
window.addEventListener('resize', this.resize.bind(this), true)
|
||||
|
||||
Reference in New Issue
Block a user