|
@@ -186,12 +186,23 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
-
|
|
|
+ field(){
|
|
|
+ this.init()
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
-
|
|
|
+ this.init()
|
|
|
},
|
|
|
methods: {
|
|
|
+ init(){
|
|
|
+ if(this.activeNames.length == 0){
|
|
|
+ if(this.field && this.field.length>0){
|
|
|
+ var field = this.field[0]
|
|
|
+ this.activeNames.push(field.value + 'a' + field.filedKind)
|
|
|
+ this.handleChange(this.activeNames)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
// 专利IPC/CPC/UPC/LOC的选项变化
|
|
|
selectChange(val, data) {
|
|
|
this.$emit('selectChange', { val: val, data: data })
|