Browse Source

update

tags/v1.22.11.2^2
chenshihai 3 years ago
parent
commit
63d56c635f
1 changed files with 6 additions and 3 deletions
  1. +6
    -3
      web_src/vuepages/pages/modelmanage/common/modelmanage-common-detail.vue

+ 6
- 3
web_src/vuepages/pages/modelmanage/common/modelmanage-common-detail.vue View File

@@ -271,12 +271,14 @@ export default {
label: item.FileName,
path: item.FileName
});
this.getDirFiles(item.FileName);
const dir = this.filePath.map((item) => item.path).join('/');
this.getDirFiles(dir);
},
goBackDir(item) {
const index = this.filePath.findIndex(pth => item === pth);
this.filePath = this.filePath.slice(0, index + 1);
this.getDirFiles(item.path);
const dir = this.filePath.map((item) => item.path).join('/');
this.getDirFiles(dir);
},
changeVersion(version, noFileRefresh) {
const data = this.modelList.filter((model) => model.version == version)[0];
@@ -408,7 +410,8 @@ export default {
setTimeout(() => {
this.loading = false;
this.updateModelInfo();
this.getDirFiles(this.filePath[this.filePath.length - 1].path);
const dir = this.filePath.map((item) => item.path).join('/');
this.getDirFiles(dir);
}, 30);
} else {
this.loading = false;


Loading…
Cancel
Save