Merge branch 'main' of https://git.opencomputing.cn/yumoqing/kboss
This commit is contained in:
commit
81655628c2
@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div v-if="loading">正在加载...</div>
|
|
||||||
<iframe v-else-if="url" :src="url" frameborder="0" class="baidu-style">
|
<iframe v-loading="loading" v-if="url" :src="url" frameborder="0" class="baidu-style">
|
||||||
</iframe>
|
</iframe>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<p>请先登录百度云账号</p>
|
<p>请先登录百度云账号</p>
|
||||||
@ -21,7 +21,8 @@ export default {
|
|||||||
userToken: '',
|
userToken: '',
|
||||||
url: '',
|
url: '',
|
||||||
loading: true,
|
loading: true,
|
||||||
userid: ''
|
userid: '',
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
async created() {
|
||||||
@ -105,7 +106,7 @@ export default {
|
|||||||
this.$message.success('退订成功');
|
this.$message.success('退订成功');
|
||||||
// 跳转页面
|
// 跳转页面
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: '/BaiduNetdisk',
|
url: '/BaiduNetdisk',
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
// 显示后端返回的错误信息
|
// 显示后端返回的错误信息
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user