main #34
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<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>
|
||||
<div v-else>
|
||||
<p>请先登录百度云账号</p>
|
||||
@ -21,7 +21,8 @@ export default {
|
||||
userToken: '',
|
||||
url: '',
|
||||
loading: true,
|
||||
userid: ''
|
||||
userid: '',
|
||||
|
||||
}
|
||||
},
|
||||
async created() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user