|
@@ -255,7 +255,7 @@ export default {
|
|
|
tempDirectorTrainingCampId: this.$route.query.id,
|
|
|
...more
|
|
|
}
|
|
|
- if(citys.length > 0) {
|
|
|
+ if(citys && citys.length > 0) {
|
|
|
params.provinceCode = citys[0]
|
|
|
params.cityCode = citys[1]
|
|
|
params.regionCode = citys[2]
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
tempDirectorTrainingCampId: this.$route.query.id,
|
|
|
...more
|
|
|
}
|
|
|
- if(citys.length > 0) {
|
|
|
+ if(citys && citys.length > 0) {
|
|
|
params.provinceCode = citys[0]
|
|
|
params.cityCode = citys[1]
|
|
|
params.regionCode = citys[2]
|