Reformat Code [SKIP CI]

This commit is contained in:
MengYX 2019-11-23 15:10:08 +08:00
parent d91f48aa70
commit 95de3e8cc5
No known key found for this signature in database
GPG Key ID: E63F9C7303E8F604
5 changed files with 42 additions and 47 deletions

View File

@ -2,8 +2,8 @@
<html lang="zh-CN"> <html lang="zh-CN">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta content="width=device-width,initial-scale=1.0" name="viewport">
<script>var _paq = window._paq || []; <script>var _paq = window._paq || [];
_paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'], _paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'],
['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']); ['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']);
@ -60,9 +60,9 @@
style="border:0"/> style="border:0"/>
</noscript> </noscript>
<strong>音乐解锁采用了一些新特性!建议使用 <strong>音乐解锁采用了一些新特性!建议使用
<a target="_blank" href="https://www.google.cn/chrome/">Google Chrome</a> <a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a>
<a target="_blank" href="https://www.firefox.com.cn/">Mozilla Firefox</a> <a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
| <a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a> | <a href="https://github.com/ix64/unlock-music/wiki/使用提示" target="_blank">使用提示</a>
</strong> </strong>
</div> </div>
<div id="app"></div> <div id="app"></div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

View File

@ -1,18 +1,18 @@
import Vue from 'vue' import Vue from 'vue'
import { import {
Image,
Button, Button,
Col,
Container,
Footer,
Icon,
Image,
Link,
Main,
Notification,
Row,
Table, Table,
TableColumn, TableColumn,
Main, Upload
Footer,
Container,
Icon,
Row,
Col,
Upload,
Notification,
Link
} from 'element-ui'; } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css' import 'element-ui/lib/theme-chalk/index.css'
@ -29,5 +29,3 @@ Vue.use(Row);
Vue.use(Col); Vue.use(Col);
Vue.use(Upload); Vue.use(Upload);
Vue.prototype.$notify = Notification; Vue.prototype.$notify = Notification;

View File

@ -117,7 +117,4 @@ class Mask {
return ret return ret
} }
} }

View File

@ -1,31 +1,31 @@
/* eslint-disable no-console */ /* eslint-disable no-console */
import { register } from 'register-service-worker' import {register} from 'register-service-worker'
if (process.env.NODE_ENV === 'production') { if (process.env.NODE_ENV === 'production') {
register(`${process.env.BASE_URL}service-worker.js`, { register(`${process.env.BASE_URL}service-worker.js`, {
ready () { ready() {
console.log( console.log(
'App is being served from cache by a service worker.\n' + 'App is being served from cache by a service worker.\n' +
'For more details, visit https://goo.gl/AFskqB' 'For more details, visit https://goo.gl/AFskqB'
) )
}, },
registered () { registered() {
console.log('Service worker has been registered.') console.log('Service worker has been registered.')
}, },
cached () { cached() {
console.log('Content has been cached for offline use.') console.log('Content has been cached for offline use.')
}, },
updatefound () { updatefound() {
console.log('New content is downloading.') console.log('New content is downloading.')
}, },
updated () { updated() {
console.log('New content is available; please refresh.') console.log('New content is available; please refresh.')
}, },
offline () { offline() {
console.log('No internet connection found. App is running in offline mode.') console.log('No internet connection found. App is running in offline mode.')
}, },
error (error) { error(error) {
console.error('Error during service worker registration:', error) console.error('Error during service worker registration:', error)
} }
}) })