askbot-dragon 1.4.95 → 1.4.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -958,7 +958,8 @@ export default {
|
|
|
958
958
|
attachments:[],
|
|
959
959
|
attachmentList:[],
|
|
960
960
|
uploadImgQueue:false,
|
|
961
|
-
isBaiLi:false
|
|
961
|
+
isBaiLi:false,
|
|
962
|
+
listenTimer:null,
|
|
962
963
|
}
|
|
963
964
|
},
|
|
964
965
|
props: {
|
|
@@ -1221,6 +1222,14 @@ export default {
|
|
|
1221
1222
|
that.defaultClick()
|
|
1222
1223
|
},
|
|
1223
1224
|
methods: {
|
|
1225
|
+
listenField(){
|
|
1226
|
+
clearTimeout(this.listenTimer);
|
|
1227
|
+
this.listenTimer = null;
|
|
1228
|
+
this.listenTimer = setTimeout(() => {
|
|
1229
|
+
this.$emit('listenField');
|
|
1230
|
+
console.debug('listenField');
|
|
1231
|
+
},500)
|
|
1232
|
+
},
|
|
1224
1233
|
setFileDefault(option){
|
|
1225
1234
|
if (this.formShow.form.formFieldRelation){
|
|
1226
1235
|
this.formShow.form.formFieldRelation.forEach(item=>{
|
|
@@ -3035,6 +3044,7 @@ export default {
|
|
|
3035
3044
|
setTimeout(()=>{
|
|
3036
3045
|
this.fieldSetting()
|
|
3037
3046
|
},0)
|
|
3047
|
+
this.listenField();
|
|
3038
3048
|
},
|
|
3039
3049
|
deep:true,
|
|
3040
3050
|
immediate:true
|