mode
This commit is contained in:
parent
198f06ade5
commit
455b1ae94d
|
@ -47,7 +47,7 @@
|
|||
type="textarea"
|
||||
v-model="currentForm.gather_name"
|
||||
v-if="
|
||||
!dbStatus[1] || !data.filter_range[dbIndex].choices.length
|
||||
!dbStatus[1] || !data.filter_range[dbIndex].choices
|
||||
"
|
||||
@blur="addDbGather2"
|
||||
@keyup.enter.exact.native="addDbGather2"
|
||||
|
@ -72,7 +72,7 @@
|
|||
v-model="currentForm.field_name"
|
||||
v-if="
|
||||
!dbStatus[2] ||
|
||||
!data.filter_range[dbIndex].choices[gaIndex].choices.length
|
||||
!data.filter_range[dbIndex].choices[gaIndex].choices
|
||||
"
|
||||
@blur="addDbGather3"
|
||||
@keyup.enter.exact.native="addDbGather3"
|
||||
|
@ -99,7 +99,7 @@
|
|||
v-model="currentForm.field_name_second"
|
||||
v-if="!dbStatus[3]||!data.filter_range[dbIndex].choices[
|
||||
gaIndex
|
||||
].choices[fiIndex].choices.length"
|
||||
].choices[fiIndex].choices"
|
||||
@blur="addDbGather4"
|
||||
@keyup.enter.exact.native="addDbGather4"
|
||||
@keyup.ctrl.enter.native="lineFeed('field_name_second')"
|
||||
|
@ -155,7 +155,11 @@ export default {
|
|||
};
|
||||
},
|
||||
|
||||
created() {},
|
||||
created() {
|
||||
if(this.data.filter_range.length!==0){
|
||||
this.dbStatus = [true,true,true,true]
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
handleClick(index) {
|
||||
|
|
|
@ -118,7 +118,7 @@ export default {
|
|||
this.isCreate = true;
|
||||
this.from = {
|
||||
filter_name: "",
|
||||
filter_range: {},
|
||||
filter_range: [],
|
||||
};
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue