diff --git a/src/components/page/articleListEditor_E.vue b/src/components/page/articleListEditor_E.vue
index 73d7165..cbcd210 100644
--- a/src/components/page/articleListEditor_E.vue
+++ b/src/components/page/articleListEditor_E.vue
@@ -225,8 +225,8 @@
-->
-
-
+
+
Html Layout :
No Layout
Typesetting completed
@@ -392,6 +392,7 @@ import { watch } from 'vue';
chooseData: [],
loading: false,
steps_jour: 0,
+ loadHtml:false, // mains 加载动画
form:{
manuscirpt: '',
},
@@ -815,11 +816,13 @@ import { watch } from 'vue';
// 点击HTML查询数据
getMainsInfo(e){
+ this.loadHtml = true
this.$api
.post('api/Publish/getArticleMains', {
'article_id': e.article_id
})
.then(res => {
+ this.loadHtml = false
if (res.code == 0) {
// console.log(res,'res')
this.mains = res.data.mains
@@ -827,7 +830,8 @@ import { watch } from 'vue';
this.$message.error(res.msg);
}
})
- .catch(err => {
+ .catch(err => {
+ this.loadHtml = false
this.$message.error(err);
});
},
@@ -884,7 +888,7 @@ import { watch } from 'vue';
if (res.code == 0) {
loading.close()
this.HtmlVisible = false
- if (this.UpHtpFIle.mains == '') {
+ if (this.mains == '') {
this.$router.push({
path: 'comArtHtmlCreat',
query: {
@@ -964,7 +968,7 @@ import { watch } from 'vue';
watch:{
HtmlVisible:{
handler(newVal, oldVal) {
- if(this.UpHtpFIle.mains=='' && newVal == true){ //打开赋值
+ if(this.UpHtpFIle.mains==0 && newVal == true){ //打开赋值
this.collapseActiveNames.push('html')
}else{ // 关闭清空
this.collapseActiveNames = []
diff --git a/src/components/page/comArtHtmlEdit.vue b/src/components/page/comArtHtmlEdit.vue
index c796e10..8bde595 100644
--- a/src/components/page/comArtHtmlEdit.vue
+++ b/src/components/page/comArtHtmlEdit.vue
@@ -525,7 +525,7 @@ import VueUeditorWrap from 'vue-ueditor-wrap'; // ES6 Module
},
// 修改选中
handleCheckedChange(val){
- console.log(val)
+ // console.log(val)
},
// 添加段落