Commit f6cb9719 authored by wanli's avatar wanli

update

parent 79eb2e3c
...@@ -100,7 +100,7 @@ class BuildLogsManager(object): ...@@ -100,7 +100,7 @@ class BuildLogsManager(object):
result = fullStackDB.update(BuildLogs, { 'uuid': uuid }, is_delete=True, delete_at=datetime.now(), delete_by=editor) result = fullStackDB.update(BuildLogs, { 'uuid': uuid }, is_delete=True, delete_at=datetime.now(), delete_by=editor)
return result, "delete build_logs {}.".format("success" if result else "fail") return result, "delete build_logs {}.".format("success" if result else "fail")
def get(self, app_id): def get(self, user, app_id):
with db_session: with db_session:
app = Apps.get(uuid=app_id) app = Apps.get(uuid=app_id)
if not app: if not app:
......
...@@ -226,7 +226,6 @@ ...@@ -226,7 +226,6 @@
:action="`${window.location.protocol}//${window.location.host}/api/v1/evm_store/upload`" :action="`${window.location.protocol}//${window.location.host}/api/v1/evm_store/upload`"
:on-remove="handleFrameworkRemove" :on-remove="handleFrameworkRemove"
:on-success="handleFrameworkSuccess" :on-success="handleFrameworkSuccess"
:file-list="fileList"
> >
<i class="el-icon-upload"></i> <i class="el-icon-upload"></i>
<div class="el-upload__text"> <div class="el-upload__text">
...@@ -341,7 +340,6 @@ export default { ...@@ -341,7 +340,6 @@ export default {
}, },
handleEdit(index, row) { handleEdit(index, row) {
this.post = Object.assign(row); this.post = Object.assign(row);
this.fileList = [];
this.imageUrl = null; this.imageUrl = null;
this.currentIndex = index; this.currentIndex = index;
this.currentValue = row; this.currentValue = row;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment