修正CROS filter映射错误。
This commit is contained in:
		@@ -32,6 +32,7 @@
 | 
			
		||||
    <url-pattern>*.do</url-pattern>
 | 
			
		||||
  </filter-mapping>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  <!-- 用于实现跨域访问的Filter -->
 | 
			
		||||
  <filter>
 | 
			
		||||
    <filter-name>cros-filter</filter-name>
 | 
			
		||||
@@ -39,7 +40,7 @@
 | 
			
		||||
  </filter>
 | 
			
		||||
  <filter-mapping>
 | 
			
		||||
    <filter-name>cros-filter</filter-name>
 | 
			
		||||
    <url-pattern>*.do</url-pattern>
 | 
			
		||||
    <url-pattern>*</url-pattern>
 | 
			
		||||
  </filter-mapping>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-14 15:12:46
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-12 14:52:09
 | 
			
		||||
 * @LastEditTime: 2023-01-25 00:31:59
 | 
			
		||||
 * @FilePath: \admin_system\src\router\index.js
 | 
			
		||||
 * @Description: 定义应用路由配置
 | 
			
		||||
 * 
 | 
			
		||||
@@ -71,6 +71,15 @@ const routes = [
 | 
			
		||||
        },
 | 
			
		||||
        component: () => import("../views/info/StaffInfo.vue"),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/editStuffInfo",
 | 
			
		||||
        name: "EditStaffInfo",
 | 
			
		||||
        hidden: true,
 | 
			
		||||
        meta: {
 | 
			
		||||
          title: "编辑人员信息",
 | 
			
		||||
        },
 | 
			
		||||
        component: () => import("../views/info/EditStaffInfo.vue"),
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        path: "/newsIndex",
 | 
			
		||||
        name: "NewsIndex",
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2022-12-22 09:10:20
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-18 21:45:12
 | 
			
		||||
 * @LastEditTime: 2023-01-25 00:29:54
 | 
			
		||||
 * @FilePath: \admin_system\src\utils\api\info\account.js
 | 
			
		||||
 * @Description:
 | 
			
		||||
 *
 | 
			
		||||
@@ -20,6 +20,8 @@ import store from "../../../store/index";
 | 
			
		||||
 */
 | 
			
		||||
export function Login(userInfo)
 | 
			
		||||
{
 | 
			
		||||
    //console.log("登录请求地址:", API_URL.URL_LOGIN);
 | 
			
		||||
    //const url = "http://localhost:8080/admin-system/account/p13_account_check";
 | 
			
		||||
    return instance.request(
 | 
			
		||||
        {
 | 
			
		||||
            method: "post",
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										27
									
								
								企业级管理系统/web/admin_system/src/views/info/EditStaffInfo.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								企业级管理系统/web/admin_system/src/views/info/EditStaffInfo.vue
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,27 @@
 | 
			
		||||
<!--
 | 
			
		||||
 * @Author: Kane
 | 
			
		||||
 * @Date: 2023-01-24 23:25:16
 | 
			
		||||
 * @LastEditors: Kane
 | 
			
		||||
 * @LastEditTime: 2023-01-24 23:57:11
 | 
			
		||||
 * @FilePath: \admin_system\src\views\info\EditStaffInfo.vue
 | 
			
		||||
 * @Description: 
 | 
			
		||||
 * 
 | 
			
		||||
 * Copyright (c) ${2022} by Kane, All Rights Reserved. 
 | 
			
		||||
-->
 | 
			
		||||
<template>
 | 
			
		||||
  <div></div>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
export default {
 | 
			
		||||
  name: "EditStaffInfo",
 | 
			
		||||
  data: function ()
 | 
			
		||||
  {
 | 
			
		||||
    return {};
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<style scoped>
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
		Reference in New Issue
	
	Block a user