新的loading和浏览器不兼容提示

This commit is contained in:
virusdefender
2016-08-14 22:48:43 +08:00
parent 50a1055d03
commit 976a66abc6
5 changed files with 23 additions and 327 deletions

View File

@@ -1,6 +1,5 @@
<template>
<div>
<unsupported-browser-warning></unsupported-browser-warning>
<top-nav></top-nav>
<div class="container">
<div class="row">
@@ -28,13 +27,11 @@
</style>
<script>
import unsupportedBrowserWarning from "./components/utils/unsupportedBrowserWarning.vue"
import topNav from "./components/utils/topNav.vue"
import leftNav from "./components/utils/leftNav.vue"
export default({
components: {
unsupportedBrowserWarning,
topNav,
leftNav
}

View File

@@ -1,13 +0,0 @@
<template>
<div id="browser-unsupported" style="display: none">{{{ $t("adminUtils.unsupportedBrowserWarningMsg") }}}
</div>
</template>
<script>
export default{
attached() {
if (navigator.userAgent.indexOf("MSIE") > -1) {
document.getElementById("browser-unsupported").removeAttribute("style");
}
}
}
</script>