no message

This commit is contained in:
A1300399510 2023-10-16 17:26:27 +08:00
parent 462aefb7b9
commit 442ad9ff31
6 changed files with 8 additions and 6 deletions

2
dist/index.html vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/app~42f9d7e6.80ffcd4a.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,6 +19,7 @@ export default {
}, },
watch: {}, watch: {},
mounted() { mounted() {
console.log(new Date());
this.$store.dispatch("fetchHistoricalSearch") // this.$store.dispatch("fetchHistoricalSearch") //
this.$store.dispatch("getAllForum", this) // this.$store.dispatch("getAllForum", this) //

View File

@ -25,7 +25,8 @@ const detailIndex = () => import('views/detail/detailIndex')
const routes = [ const routes = [
{ {
// 首页 // 首页
path: '*', // path: '*',
path: '/',
name: 'Index', name: 'Index',
redirect: "/recommend", redirect: "/recommend",
component: Index, component: Index,
@ -104,9 +105,9 @@ const routes = [
] ]
const router = new VueRouter({ const router = new VueRouter({
// mode: 'history', mode: 'history',
// mode: 'hash', // mode: 'hash',
mode: process.env.NODE_ENV == "development" ? 'hash' : 'history', // mode: process.env.NODE_ENV == "development" ? 'hash' : 'history',
// base: process.env.BASE_URL, // base: process.env.BASE_URL,
routes routes
}) })