Browse Source

提交代码,修改权限控制。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.12.1^2
zouap 3 years ago
parent
commit
4fd7568cc7
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      web_src/js/components/Model.vue

+ 1
- 2
web_src/js/components/Model.vue View File

@@ -406,10 +406,9 @@ export default {
}
},
modifyModelStatus(id, name, rowKey,isPrivate) {
let row = { cName: name, id: id, rowKey: rowKey };
let data = {'id':id,'isPrivate':isPrivate,'repo':this.repo};
modifyModelStatus(data);
_this.loadrefresh(row);
this.getModelList();
},
deleteModel(id, name, rowKey) {
let row = { cName: name, id: id, rowKey: rowKey };


Loading…
Cancel
Save