mirror of https://github.com/veops/cmdb.git
fix(cmdb-ui): CI update password
This commit is contained in:
parent
b090a88b76
commit
1aeb9a2702
|
@ -526,7 +526,7 @@ export default {
|
||||||
const $table = this.$refs['xTable'].getVxetableRef()
|
const $table = this.$refs['xTable'].getVxetableRef()
|
||||||
const data = {}
|
const data = {}
|
||||||
this.columns.forEach((item) => {
|
this.columns.forEach((item) => {
|
||||||
if (!_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
if (!(item.field in this.initialPasswordValue) && !_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
||||||
data[item.field] = row[item.field] ?? null
|
data[item.field] = row[item.field] ?? null
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -1130,7 +1130,7 @@ export default {
|
||||||
const $table = this.$refs['xTable']
|
const $table = this.$refs['xTable']
|
||||||
const data = {}
|
const data = {}
|
||||||
this.columns.forEach((item) => {
|
this.columns.forEach((item) => {
|
||||||
if (!_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
if (!(item.field in this.initialPasswordValue) && !_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
||||||
data[item.field] = row[item.field] ?? null
|
data[item.field] = row[item.field] ?? null
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -972,7 +972,7 @@ export default {
|
||||||
const $table = this.$refs['xTable'].getVxetableRef()
|
const $table = this.$refs['xTable'].getVxetableRef()
|
||||||
const data = {}
|
const data = {}
|
||||||
this.columns.forEach((item) => {
|
this.columns.forEach((item) => {
|
||||||
if (!_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
if (!(item.field in this.initialPasswordValue) && !_.isEqual(row[item.field], this.initialInstanceList[rowIndex][item.field])) {
|
||||||
data[item.field] = row[item.field] ?? null
|
data[item.field] = row[item.field] ?? null
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -17,9 +17,11 @@ const logo = {
|
||||||
getCompanyInfo({ commit }) {
|
getCompanyInfo({ commit }) {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
getCompanyInfo().then(res => {
|
getCompanyInfo().then(res => {
|
||||||
|
if (res.info) {
|
||||||
commit('SET_FILENAME', res.info.logoName)
|
commit('SET_FILENAME', res.info.logoName)
|
||||||
commit('SET_SMALL_FILENAME', res.info.smallLogoName)
|
commit('SET_SMALL_FILENAME', res.info.smallLogoName)
|
||||||
resolve(res.info)
|
resolve(res.info)
|
||||||
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log('获取失败', err)
|
console.log('获取失败', err)
|
||||||
reject(err)
|
reject(err)
|
||||||
|
|
Loading…
Reference in New Issue