uptada BaiDuYun
This commit is contained in:
parent
1998ed5cf2
commit
c47dc76c05
@ -4,7 +4,8 @@
|
||||
<!-- <div style="color:#fff;height:30px;">1232</div> -->
|
||||
<!-- <el-row :gutter="20">
|
||||
<el-col :span="6">
|
||||
<img src="../../../../public/logos/logo_rgba/noWhite/kkyLogoNoWhiteNoText.png" alt="">
|
||||
<img src="../../../../public/logo
|
||||
s/logo_rgba/noWhite/kkyLogoNoWhiteNoText.png" alt="">
|
||||
</el-col>
|
||||
<el-col :span="18">
|
||||
<img src="../../../../public/logos/logo_rgba/noWhite/kkyLogoNoWhiteText.png.png" alt="">
|
||||
@ -17,7 +18,7 @@
|
||||
<el-menu :collapse="isCollapse" :background-color="variables.menuBg" :text-color="variables.menuText"
|
||||
:unique-opened="true" :active-text-color="variables.menuActiveText" :collapse-transition="false"
|
||||
:default-active="$route.path" mode="vertical"
|
||||
style="overflow-y: auto;height: calc(100vh - 80px)"
|
||||
style="overflow-y: auto;height: 100vh ;"
|
||||
>
|
||||
<sidebar-item v-for="(route, index) in permission_routes" :key="index" :item="route" :base-path="route.path"/>
|
||||
</el-menu>
|
||||
@ -30,7 +31,7 @@
|
||||
import {mapGetters} from "vuex";
|
||||
import Logo from "./Logo";
|
||||
import SidebarItem from "./SidebarItem";
|
||||
import variables from "@/styles/variables.scss";
|
||||
import variables from "../../../styles/variables.scss";
|
||||
|
||||
export default {
|
||||
data() {
|
||||
|
||||
@ -61,8 +61,6 @@ export default {
|
||||
console.log('接收到消息:', event);
|
||||
const data = event.data;
|
||||
console.log('接收到的 data 是:', data);
|
||||
|
||||
// --- 修复后的逻辑 ---
|
||||
// 1. 检查数据结构和来源 (可选但推荐)
|
||||
// const expectedOrigin = 'https://console.vcp.baidu.com';
|
||||
// if (event.origin !== expectedOrigin) {
|
||||
@ -107,7 +105,7 @@ export default {
|
||||
this.$message.success('退订成功');
|
||||
// 跳转页面
|
||||
this.$router.push({
|
||||
name: 'userResource',
|
||||
name: 'BaiduNetdisk',
|
||||
params: {
|
||||
listUrl: this.$route.params.listUrl,
|
||||
url: this.$route.params.url
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user