修改已知问题
This commit is contained in:
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user