@@ -204,6 +204,6 @@
<div class="load_title">正在加载系统资源,请耐心等待</div>
</div>
- <script src="/tinymce/tinymce.min.js"></script>
+ <script src="/admin/tinymce/tinymce.min.js"></script>
</body>
</html>
@@ -201,7 +201,7 @@ export default {
})
.then(() => {
this.$store.dispatch("LogOut").then(() => {
- location.href = "/admin/index";
+ location.href = "/admin";
});
.catch(() => {});
@@ -172,7 +172,7 @@ Router.prototype.push = function push(location) {
export default new Router({
base: "/admin",
- mode: 'history', // 去掉url中的#
+ mode: 'hash', // 去掉url中的#
scrollBehavior: () => ({ y: 0 }),
routes: constantRoutes