This commit is contained in:
2025-06-17 21:34:59 +08:00
parent 00a055685e
commit 6256cda8bc
17 changed files with 397 additions and 121 deletions

View File

@@ -1,9 +1,14 @@
import router from "../router/index.js";
import {useSystemStore} from "../pinia/SystemStore/index.js";
export const toPath = (path, query = {}) => {
router.push({
path: path, query: query
}).then();
}).then(() => {
const SystemStore = useSystemStore();
SystemStore.NOW_ROUTER = path;
Object.assign(SystemStore.NOW_ROUTER_QUERY, query);
});
}
export const VITE_TINYMCE_KEY = () => {