fix : issue type 接口参数增加 list

This commit is contained in:
likexuan
2022-08-30 16:23:29 +08:00
parent a216f99b50
commit e8dd9b4fc0
2 changed files with 3 additions and 3 deletions

View File

@@ -289,7 +289,7 @@ export default {
getTypeData () {
this.$get('issue/type').then(response => {
if (response.code === 200) {
this.issueTypeSelect = response.data
this.issueTypeSelect = response.data.list
}
})
},
@@ -364,7 +364,7 @@ export default {
immediate: true,
handler (n, o) {
this.isEdit = true
if (n.assets.length >= 1 && n.assets[0] != null) {
if (n.assets && n.assets[0] != null) {
const assetIdData = n.assets.map(item => {
return item.id
})