zhaoke 1 жил өмнө
parent
commit
f2d1be374e

+ 1 - 1
src/router/routes/routes-file-two.ts

@@ -80,7 +80,7 @@ const HomeRoutes = {
     {
       path: '/userManagement/securityPolicy',
       name: 'SecurityPolicy',
-      meta: { title: '登录策略' },
+      meta: { title: '登录策略', roles: ['login_strategy_page'] },
       component: () =>
         import('@/views/systemSettings/securityPolicy/index.vue'),
     },

+ 1 - 2
src/views/systemSettings/securityPolicy/index.vue

@@ -1,8 +1,7 @@
 <template>
   <div class="airportInfo scroll-y">
     <div class="wrap">
-      <!-- powerData="new_login_policy_button" -->
-      <Minheader :is-auth="true" :is-statuser="true" @addForm="addForm">
+      <Minheader :is-auth="true" :is-statuser="true" powerData="new_login_policy_button" @addForm="addForm">
         <template #header>
           <div class="status flex-wrap">
             <div class="manageTitle">登录策略</div>