Commit 5bc982a5 by 胡悦

修改路由模式

1 parent 121337cd
import { createRouter, createWebHistory } from 'vue-router'
import { createRouter, createWebHashHistory } from 'vue-router'
import type { App } from 'vue'
import routes from './routes'
const routerHistory = createWebHistory()
const routerHistory = createWebHashHistory()
// createWebHashHistory hash 路由
// createWebHistory history 路由
// createMemoryHistory 带缓存history路由
......
......@@ -74,6 +74,8 @@ const update = async(values: object) => {
// on close
getUserInfo()
});
} else {
Toast(message)
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!