修改已知问题
This commit is contained in:
@@ -294,8 +294,15 @@
|
|||||||
onClickSee(val) {
|
onClickSee(val) {
|
||||||
let _this = this
|
let _this = this
|
||||||
this.areaVisibleView = true
|
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({
|
axios({
|
||||||
url: `/jero-boot/params/config/getById?id=${val.db_field_name}`,
|
url: url,
|
||||||
method: 'get',
|
method: 'get',
|
||||||
transformRequest: [function(data) {
|
transformRequest: [function(data) {
|
||||||
let ret = ''
|
let ret = ''
|
||||||
@@ -312,8 +319,9 @@
|
|||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.data.success) {
|
if (res.data.success) {
|
||||||
this.configDetail = res.data.result
|
this.configDetail = res.data.result || {}
|
||||||
} else {
|
} else {
|
||||||
|
this.configDetail = {}
|
||||||
_this.$message.warning(res.data.result)
|
_this.$message.warning(res.data.result)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user