mirror of https://github.com/veops/cmdb.git
fix(cmdb-ui): CI update password
This commit is contained in:
parent
2d59757ba7
commit
e785d1a2f6
|
@ -526,7 +526,7 @@ export default {
|
|||
const $table = this.$refs['xTable'].getVxetableRef()
|
||||
const data = {}
|
||||
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
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1130,7 +1130,7 @@ export default {
|
|||
const $table = this.$refs['xTable']
|
||||
const data = {}
|
||||
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
|
||||
}
|
||||
})
|
||||
|
|
|
@ -972,7 +972,7 @@ export default {
|
|||
const $table = this.$refs['xTable'].getVxetableRef()
|
||||
const data = {}
|
||||
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
|
||||
}
|
||||
})
|
||||
|
|
|
@ -17,9 +17,11 @@ const logo = {
|
|||
getCompanyInfo({ commit }) {
|
||||
return new Promise((resolve, reject) => {
|
||||
getCompanyInfo().then(res => {
|
||||
commit('SET_FILENAME', res.info.logoName)
|
||||
commit('SET_SMALL_FILENAME', res.info.smallLogoName)
|
||||
resolve(res.info)
|
||||
if (res.info) {
|
||||
commit('SET_FILENAME', res.info.logoName)
|
||||
commit('SET_SMALL_FILENAME', res.info.smallLogoName)
|
||||
resolve(res.info)
|
||||
}
|
||||
}).catch(err => {
|
||||
console.log('获取失败', err)
|
||||
reject(err)
|
||||
|
|
Loading…
Reference in New Issue