mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 04:16:45 +08:00
提交
This commit is contained in:
@@ -181,10 +181,9 @@ export default {
|
|||||||
this.isFavorite = newVal;
|
this.isFavorite = newVal;
|
||||||
},
|
},
|
||||||
data(newVal,oldVal){
|
data(newVal,oldVal){
|
||||||
// console.log(newVal,'newVal');
|
if(newVal && newVal.id!=''){
|
||||||
// if(newVal && newVal.id!=''){
|
this.checkHas();
|
||||||
// this.checkHas();
|
}
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created(){
|
created(){
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
<div class="case-summary"><span>{{ caseDetail.summary }}</span></div>
|
<div class="case-summary"><span>{{ caseDetail.summary }}</span></div>
|
||||||
<div class="label" style="margin-top:10px">
|
<div class="label" style="margin-top:10px">
|
||||||
<!-- <span style="margin-left:0px;" v-if="caseDetail.sysCreateTime">{{ caseDetail.sysCreateTime.substring(0,10) }}</span> -->
|
<!-- <span style="margin-left:0px;" v-if="caseDetail.sysCreateTime">{{ caseDetail.sysCreateTime.substring(0,10) }}</span> -->
|
||||||
<interactBar :data="caseDetail" :type="3" :comments="false" :shares="true" :unicom="true"></interactBar>
|
<interactBar :data="caseDetail" :type="3" :readonly="Internet != 1" :comments="false" :shares="true" :unicom="true"></interactBar>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-card v-if="Internet == 1" :body-style="{ padding: '0px' }" class="jianjie" id="pdfPreview">
|
<el-card v-if="Internet == 1" :body-style="{ padding: '0px' }" class="jianjie" id="pdfPreview">
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div style="display:inline-block;">
|
<div style="display:inline-block;">
|
||||||
<interactBar :data="caseDetail" :type="3" :comments="false" :shares="true" :unicom="true"></interactBar>
|
<interactBar :data="caseDetail" :type="3" :readonly="Internet != 1" :comments="false" :shares="true" :unicom="true"></interactBar>
|
||||||
</div>
|
</div>
|
||||||
<div style="display:inline-block;margin: 0 20px;">
|
<div style="display:inline-block;margin: 0 20px;">
|
||||||
<el-button type="primary" @click="goTop()">返回顶部</el-button>
|
<el-button type="primary" @click="goTop()">返回顶部</el-button>
|
||||||
@@ -220,13 +220,10 @@ export default {
|
|||||||
timedOut = true;
|
timedOut = true;
|
||||||
xmlhttp.abort();
|
xmlhttp.abort();
|
||||||
}, 5000);
|
}, 5000);
|
||||||
xmlhttp.open("HEAD", "http://uapi.boe.com.cn",true);
|
xmlhttp.open("HEAD", "http://uapi.boe.com.cn",true);
|
||||||
// xmlhttp.open("HEAD", "https://u-pre.boe.com/web",true);
|
|
||||||
xmlhttp.send();
|
xmlhttp.send();
|
||||||
xmlhttp.onreadystatechange=function() {
|
xmlhttp.onreadystatechange=function() {
|
||||||
// console.log(xmlhttp.readyState,"xmlhttp.readyState");
|
|
||||||
if (xmlhttp.readyState==4) {
|
if (xmlhttp.readyState==4) {
|
||||||
console.log(xmlhttp.status,"xmlhttp.status");
|
|
||||||
if (xmlhttp.status==200){
|
if (xmlhttp.status==200){
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
$this.Internet = 1;
|
$this.Internet = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user