😎修改接口资源授权抽屉标题
This commit is contained in:
parent
b7e51e7564
commit
a4f9397bfb
@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="sys-baseApi-container">
|
<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">
|
<el-card class="tree-card" shadow="hover" style="height: calc(100vh - 110px)" body-style="height:100%; overflow:auto">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
@ -69,7 +75,6 @@ const state = reactive({
|
|||||||
allApiData: [] as any,
|
allApiData: [] as any,
|
||||||
ownApiList: [] as any,
|
ownApiList: [] as any,
|
||||||
selectRow: [] as any,
|
selectRow: [] as any,
|
||||||
drawerTitle: '',
|
|
||||||
selectedTabName: 0,
|
selectedTabName: 0,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -98,7 +103,6 @@ const initTreeData = async () => {
|
|||||||
// 打开页面
|
// 打开页面
|
||||||
const openDrawer = async () => {
|
const openDrawer = async () => {
|
||||||
state.selectedTabName = 0;
|
state.selectedTabName = 0;
|
||||||
state.drawerTitle = '设置基础接口资源【免鉴权授权】';
|
|
||||||
state.isVisible = true;
|
state.isVisible = true;
|
||||||
state.loading = false;
|
state.loading = false;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="sys-grantApi-container">
|
<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">
|
<el-card class="tree-card" shadow="hover" style="height: calc(100vh - 110px)" body-style="height:100%; overflow:auto">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user