|
@@ -189,10 +189,11 @@ export default {
|
|
|
return JSON.parse(JSON.stringify(obj));
|
|
|
},
|
|
|
cruxSuccess() {
|
|
|
- this.getData();
|
|
|
+ const isCrux = 1; //是否为点击详情后获取表头和实例数据
|
|
|
+ this.getData(isCrux);
|
|
|
},
|
|
|
// 获取表头和实例数据
|
|
|
- getData() {
|
|
|
+ getData(isCrux = 0) {
|
|
|
let params1 = {
|
|
|
orders: "sort asc",
|
|
|
pageNumber: 1,
|
|
@@ -229,8 +230,19 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.instance = obj;
|
|
|
- this.handleRadios(this.currentRadio);
|
|
|
+ // this.handleRadios(this.currentRadio);
|
|
|
this.handleEnclosure(); //处理图片视频文件信息
|
|
|
+
|
|
|
+ // 如果是编辑后状态、则需要更新下Tab
|
|
|
+ if (isCrux) {
|
|
|
+ const currentRadio = this.currentRadio
|
|
|
+ this.handleRadios(-1);
|
|
|
+ setTimeout(()=>{
|
|
|
+ this.handleRadios(currentRadio);
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.handleRadios(this.currentRadio);
|
|
|
+ }
|
|
|
});
|
|
|
},
|
|
|
handleEnclosure() {
|