保存进度!
This commit is contained in:
		@@ -38,4 +38,10 @@ const router = createRouter(
 | 
			
		||||
    }
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
//路由守卫
 | 
			
		||||
router.beforeEach((to) =>
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
export { router };
 | 
			
		||||
							
								
								
									
										9
									
								
								code/web/task_schedule/src/store/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								code/web/task_schedule/src/store/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
/*
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-03-01 18:23:32
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @FilePath: /deskop_task_schedule/code/web/task_schedule/src/store/index.js
 | 
			
		||||
 * @Description: vuex配置文件
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
 */
 | 
			
		||||
@@ -39,7 +39,11 @@ export default {
 | 
			
		||||
        console.log(window.location.href);
 | 
			
		||||
        console.log(urlParams);
 | 
			
		||||
 | 
			
		||||
        if (urlParams.account == undefined)
 | 
			
		||||
        if (urlParams.account != undefined)
 | 
			
		||||
        {
 | 
			
		||||
            //根据账号查询员工信息
 | 
			
		||||
        }
 | 
			
		||||
        else
 | 
			
		||||
        {
 | 
			
		||||
            ui.showNeedAccountTip = true;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user