diff --git a/web_src/js/components/Model.vue b/web_src/js/components/Model.vue index 6ab927b1d..c291c5ffa 100644 --- a/web_src/js/components/Model.vue +++ b/web_src/js/components/Model.vue @@ -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 };