Merge pull request #136 from jumpserver/fix_update_bulkdeleteUrl

fix: 修复批量删除链接的bug
This commit is contained in:
Orange
2020-07-04 18:44:21 +08:00
committed by GitHub
4 changed files with 6 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ export default {
return v.id
})
const data = await createSourceIdCache(ids)
const url = `${this.tableUrl}?spm=` + data.spm
const url = (this.tableUrl.indexOf('?') === -1) ? `${this.tableUrl}?spm=` + data.spm : `${this.tableUrl}&spm=` + data.spm
return this.$axios.delete(url)
},
handleBulkUpdate({ selectedRows }) {

View File

@@ -859,7 +859,8 @@
"ReleasedCount": "已释放",
"DateSync": "同步日期",
"Status": "状态",
"Log": "日志"
"Log": "日志",
"DeleteReleasedAssets": "删除已释放资产"
},
"Corporation": "公司",
"Edition": "版本",

View File

@@ -858,7 +858,8 @@
"ReleasedCount": "Released count",
"DateSync": "Date sync",
"Status": "Status",
"Log": "Log"
"Log": "Log",
"DeleteReleasedAssets": "Delete released assets"
},
"Corporation": "Corporation",
"Edition": "Edition",