😎修改接口资源授权抽屉标题

This commit is contained in:
zuohuaijun 2024-07-01 16:55:11 +08:00
parent b7e51e7564
commit a4f9397bfb
2 changed files with 14 additions and 4 deletions

View File

@ -1,6 +1,12 @@
<template>
<div class="sys-baseApi-container">
<el-drawer v-model="state.isVisible" :title="state.drawerTitle" size="30%">
<el-drawer v-model="state.isVisible" size="30%">
<template #header>
<div style="color: #fff">
<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Link /> </el-icon>
<span>设置基础接口资源免鉴权授权</span>
</div>
</template>
<el-card class="tree-card" shadow="hover" style="height: calc(100vh - 110px)" body-style="height:100%; overflow:auto">
<template #header>
<div class="card-header">
@ -69,7 +75,6 @@ const state = reactive({
allApiData: [] as any,
ownApiList: [] as any,
selectRow: [] as any,
drawerTitle: '',
selectedTabName: 0,
});
@ -98,7 +103,6 @@ const initTreeData = async () => {
//
const openDrawer = async () => {
state.selectedTabName = 0;
state.drawerTitle = '设置基础接口资源【免鉴权授权】';
state.isVisible = true;
state.loading = false;

View File

@ -1,6 +1,12 @@
<template>
<div class="sys-grantApi-container">
<el-drawer v-model="state.isVisible" :title="state.drawerTitle" size="30%">
<el-drawer v-model="state.isVisible" size="30%">
<template #header>
<div style="color: #fff">
<el-icon size="16" style="margin-right: 3px; display: inline; vertical-align: middle"> <ele-Link /> </el-icon>
<span>{{ state.drawerTitle }}</span>
</div>
</template>
<el-card class="tree-card" shadow="hover" style="height: calc(100vh - 110px)" body-style="height:100%; overflow:auto">
<template #header>
<div class="card-header">