修改已知问题

This commit is contained in:
qq787203167
2022-07-12 17:44:33 +08:00
parent 97aeca04cd
commit 4b6b1005ed
@@ -294,8 +294,15 @@
onClickSee(val) {
let _this = this
this.areaVisibleView = true
let url = ''
if (this.$route.query.it === undefined) {
url = `/jero-boot/params/config/getById?id=${val.db_field_name}`
} else {
// 历史版本
url = `/jero-boot/params/collectManifestHistory/getConfigById?id=${val.db_field_name}`
}
axios({
url: `/jero-boot/params/config/getById?id=${val.db_field_name}`,
url: url,
method: 'get',
transformRequest: [function(data) {
let ret = ''
@@ -312,8 +319,9 @@
.then((res) => {
console.log(res)
if (res.data.success) {
this.configDetail = res.data.result
this.configDetail = res.data.result || {}
} else {
this.configDetail = {}
_this.$message.warning(res.data.result)
}
})