mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-29 23:25:02 +08:00
Reformat Code [SKIP CI]
This commit is contained in:
parent
d91f48aa70
commit
95de3e8cc5
@ -2,8 +2,8 @@
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
||||
<script>var _paq = window._paq || [];
|
||||
_paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'],
|
||||
['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']);
|
||||
@ -60,9 +60,9 @@
|
||||
style="border:0"/>
|
||||
</noscript>
|
||||
<strong>音乐解锁采用了一些新特性!建议使用
|
||||
<a target="_blank" href="https://www.google.cn/chrome/">Google Chrome</a>
|
||||
<a target="_blank" href="https://www.firefox.com.cn/">Mozilla Firefox</a>
|
||||
| <a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>
|
||||
<a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a>
|
||||
<a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
|
||||
| <a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a>
|
||||
</strong>
|
||||
</div>
|
||||
<div id="app"></div>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 6.7 KiB |
@ -1,18 +1,18 @@
|
||||
import Vue from 'vue'
|
||||
import {
|
||||
Image,
|
||||
Button,
|
||||
Col,
|
||||
Container,
|
||||
Footer,
|
||||
Icon,
|
||||
Image,
|
||||
Link,
|
||||
Main,
|
||||
Notification,
|
||||
Row,
|
||||
Table,
|
||||
TableColumn,
|
||||
Main,
|
||||
Footer,
|
||||
Container,
|
||||
Icon,
|
||||
Row,
|
||||
Col,
|
||||
Upload,
|
||||
Notification,
|
||||
Link
|
||||
Upload
|
||||
} from 'element-ui';
|
||||
import 'element-ui/lib/theme-chalk/index.css'
|
||||
|
||||
@ -29,5 +29,3 @@ Vue.use(Row);
|
||||
Vue.use(Col);
|
||||
Vue.use(Upload);
|
||||
Vue.prototype.$notify = Notification;
|
||||
|
||||
|
||||
|
@ -117,7 +117,4 @@ class Mask {
|
||||
return ret
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,32 +1,32 @@
|
||||
/* eslint-disable no-console */
|
||||
|
||||
import { register } from 'register-service-worker'
|
||||
import {register} from 'register-service-worker'
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
register(`${process.env.BASE_URL}service-worker.js`, {
|
||||
ready () {
|
||||
console.log(
|
||||
'App is being served from cache by a service worker.\n' +
|
||||
'For more details, visit https://goo.gl/AFskqB'
|
||||
)
|
||||
},
|
||||
registered () {
|
||||
console.log('Service worker has been registered.')
|
||||
},
|
||||
cached () {
|
||||
console.log('Content has been cached for offline use.')
|
||||
},
|
||||
updatefound () {
|
||||
console.log('New content is downloading.')
|
||||
},
|
||||
updated () {
|
||||
console.log('New content is available; please refresh.')
|
||||
},
|
||||
offline () {
|
||||
console.log('No internet connection found. App is running in offline mode.')
|
||||
},
|
||||
error (error) {
|
||||
console.error('Error during service worker registration:', error)
|
||||
}
|
||||
})
|
||||
register(`${process.env.BASE_URL}service-worker.js`, {
|
||||
ready() {
|
||||
console.log(
|
||||
'App is being served from cache by a service worker.\n' +
|
||||
'For more details, visit https://goo.gl/AFskqB'
|
||||
)
|
||||
},
|
||||
registered() {
|
||||
console.log('Service worker has been registered.')
|
||||
},
|
||||
cached() {
|
||||
console.log('Content has been cached for offline use.')
|
||||
},
|
||||
updatefound() {
|
||||
console.log('New content is downloading.')
|
||||
},
|
||||
updated() {
|
||||
console.log('New content is available; please refresh.')
|
||||
},
|
||||
offline() {
|
||||
console.log('No internet connection found. App is running in offline mode.')
|
||||
},
|
||||
error(error) {
|
||||
console.error('Error during service worker registration:', error)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user