forked from um/web
Add Tips
This commit is contained in:
parent
bceabe4fcf
commit
d42e6e3259
@ -21,10 +21,12 @@
|
||||
<div id="loader-mask">
|
||||
<div id="loader"></div>
|
||||
<noscript>
|
||||
<h3 id="loader-js">请启用JavaScript</h3>
|
||||
<img alt=""
|
||||
src="https://stats.ixarea.com/ixarea-stats/report?rec=1&action_name=音乐解锁-NoJS&idsite=2"
|
||||
style="border:0"/>
|
||||
</noscript>
|
||||
<h3 id="loader-source"> 请勿直接运行源代码! </h3>
|
||||
<div hidden id="loader-tips-outdated">
|
||||
<h2>您可能在使用不受支持的<span style="color:#f00;">过时</span>浏览器,这可能导致此应用无法正常工作。</h2>
|
||||
<h3>如果您使用双核浏览器,您可以尝试切换<span style="color:#f00;">“极速模式”</span>解决此问题。</h3>
|
||||
|
22
src/main.js
22
src/main.js
@ -2,9 +2,23 @@ import Vue from 'vue'
|
||||
import App from './App.vue'
|
||||
import './registerServiceWorker'
|
||||
import {
|
||||
Button, Col, Container, Footer, Icon, Image, Link, Main,
|
||||
Row, Table, TableColumn, Upload, Radio, Checkbox, Progress,
|
||||
Notification, Tooltip,
|
||||
Button,
|
||||
Checkbox,
|
||||
Col,
|
||||
Container,
|
||||
Footer,
|
||||
Icon,
|
||||
Image,
|
||||
Link,
|
||||
Main,
|
||||
Notification,
|
||||
Progress,
|
||||
Radio,
|
||||
Row,
|
||||
Table,
|
||||
TableColumn,
|
||||
Tooltip,
|
||||
Upload
|
||||
} from 'element-ui';
|
||||
import 'element-ui/lib/theme-chalk/base.css';
|
||||
|
||||
@ -27,7 +41,7 @@ Vue.use(Progress);
|
||||
Vue.prototype.$notify = Notification;
|
||||
|
||||
Vue.config.productionTip = false;
|
||||
|
||||
document.getElementById("loader-source").remove()
|
||||
new Vue({
|
||||
render: h => h(App),
|
||||
}).$mount('#app');
|
||||
|
Loading…
Reference in New Issue
Block a user