mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-06 20:58:12 +00:00
no message
This commit is contained in:
parent
c7ea7b057c
commit
4aa865a60f
1
electron/build.js
vendored
1
electron/build.js
vendored
@ -559,6 +559,7 @@ async function startBuild(data) {
|
||||
origin: "./",
|
||||
homeUrl: utils.formatUrl(data.url),
|
||||
apiUrl: utils.formatUrl(data.url) + "api/",
|
||||
routeMode: "hash",
|
||||
}
|
||||
// information
|
||||
if (data.id === 'app') {
|
||||
|
||||
2
resources/assets/js/app.js
vendored
2
resources/assets/js/app.js
vendored
@ -77,7 +77,7 @@ VueRouter.prototype.push = function push(location) {
|
||||
}
|
||||
|
||||
// 路由方式
|
||||
const routeMode = isSoftware && !/https?:/i.test(window.location.protocol) ? 'hash' : 'history';
|
||||
const routeMode = (window && window.systemInfo && window.systemInfo.routeMode === 'hash') ? 'hash' : 'history';
|
||||
const router = new VueRouter({mode: routeMode, routes});
|
||||
|
||||
// 进度条配置
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user