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