|
@@ -74,10 +74,12 @@ export default {
|
|
|
type: Object
|
|
|
},
|
|
|
TeachingValue: {
|
|
|
- type: String
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
},
|
|
|
TeachName: {
|
|
|
- type: Array
|
|
|
+ type: Array,
|
|
|
+ default: ''
|
|
|
}
|
|
|
},
|
|
|
data() {
|
|
@@ -95,7 +97,8 @@ export default {
|
|
|
if (this.TeachingValue == '') {
|
|
|
return this.testJson.juriP ? this.testJson.juriP : '所有人'
|
|
|
}else{
|
|
|
- return this.TeachName ? this.TeachName[0].name :'所有人'
|
|
|
+ // return this.testJson.juriP ? this.testJson.juriP : '所有人'
|
|
|
+ return this.TeachName ? this.TeachName[0].name : this.testJson.juriP ? this.testJson.juriP : '所有人'
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -205,6 +208,7 @@ export default {
|
|
|
},
|
|
|
mounted(){
|
|
|
console.log(top.origin);
|
|
|
+ console.log(this.testJson);
|
|
|
// this.origin = top.origin
|
|
|
},
|
|
|
};
|