fix: PSK管理页面去掉max-width限制,与其他页面宽度一致
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="psks-page">
|
<div>
|
||||||
<div class="page-header">
|
<div style="display:flex;justify-content:space-between;align-items:center">
|
||||||
<h2>PSK 管理</h2>
|
<h2>PSK 管理</h2>
|
||||||
<el-button type="primary" @click="showAddDialog">
|
<el-button type="primary" @click="showAddDialog">
|
||||||
<el-icon><Plus /></el-icon>
|
<el-icon><Plus /></el-icon>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-card class="tips-card">
|
<el-card style="margin-top:16px">
|
||||||
<el-alert type="info" :closable="false" show-icon>
|
<el-alert type="info" :closable="false" show-icon>
|
||||||
<template #title>
|
<template #title>
|
||||||
PSK(预共享密钥)用于外部客户端(如 mediabot)接入认证。
|
PSK(预共享密钥)用于外部客户端(如 mediabot)接入认证。
|
||||||
@@ -190,21 +190,6 @@ onMounted(fetchList)
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.psks-page {
|
|
||||||
max-width: 960px;
|
|
||||||
}
|
|
||||||
.page-header {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
.page-header h2 {
|
|
||||||
margin: 0;
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
.tips-card {
|
|
||||||
margin-top: 16px;
|
|
||||||
}
|
|
||||||
.secret-text {
|
.secret-text {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|||||||
Reference in New Issue
Block a user