update
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user