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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.4.95",
3
+ "version": "1.4.97",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -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
@@ -328,6 +328,9 @@ export default {
328
328
  rectdom.appendChild(div)
329
329
  if(index == 0 && j == 0) {
330
330
  rectdomTop = postionArr[1]
331
+ if(this.isPC) {
332
+ rectdomTop = rectdomTop + 50
333
+ }
331
334
  }
332
335
  }
333
336
  }