|
@@ -583,6 +583,9 @@ export default {
|
|
|
mounted() {
|
|
|
getWebsit({ type: 'C', status: true, queryPartsWebsit: true }).then(res => {
|
|
|
this.websitList = res.data
|
|
|
+ if (res.data.length == 1) {
|
|
|
+ this.changeWebsit(this.websitList[0].websitId)
|
|
|
+ }
|
|
|
})
|
|
|
this.getInitInfo()
|
|
|
},
|