doway-coms 2.10.16 → 2.10.18

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": "doway-coms",
3
- "version": "2.10.16",
3
+ "version": "2.10.18",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -23,9 +23,7 @@
23
23
  >
24
24
  {{ currentValue }}   
25
25
  </span>
26
- <Button type="primary" :size="'small'" @click="buttonClick">{{
27
- colInfo.buttonTitle
28
- }}</Button>
26
+
29
27
  <div class="d-error-msg">
30
28
  {{ v.errors[0] }}
31
29
  </div>
@@ -158,6 +156,9 @@
158
156
  </Modal>
159
157
  </ValidationProvider>
160
158
  </div>
159
+ <Button type="primary" :size="'small'" @click="buttonClick">{{
160
+ colInfo.buttonTitle
161
+ }}</Button>
161
162
  </div>
162
163
  </template>
163
164
  <script>
@@ -701,11 +701,23 @@ export default {
701
701
  }
702
702
  let vm = this
703
703
  this.inputTimeout = setTimeout(() => {
704
- //判断面板是否打开
705
- if (vm.$refs.pulldownRef&&vm.$refs.pulldownRef.isPanelVisible() === false) {
706
- vm.$refs.pulldownRef.showPanel()
704
+ if(vm.$refs.pulldownRef){
705
+ if(vm.$refs.pulldownRef.isPanelVisible() === false){
706
+ vm.$refs.pulldownRef.showPanel()
707
+ }
708
+ vm.searchData()
709
+ }else{
710
+ //如果输入复制数据,或者快速输入数据然后切换到其他行的时候会
711
+ //造成当前行编辑装填变成关闭,并且取步到弹出组件,导致输入的值没有被清空
712
+ //所以这里需要判断是否有弹出组件,如果没有,则清空输入框
713
+ //davis20241129
714
+ vm.clearInputValue()
707
715
  }
708
- vm.searchData()
716
+ //判断面板是否打开
717
+ // if (vm.$refs.pulldownRef&&vm.$refs.pulldownRef.isPanelVisible() === false) {
718
+ // vm.$refs.pulldownRef.showPanel()
719
+ // }
720
+ // vm.searchData()
709
721
  }, 500)
710
722
  }
711
723
  },
@@ -170,7 +170,10 @@ service.interceptors.response.use(
170
170
  } else {
171
171
  errorMsg = error.msg
172
172
  }
173
- notification['error']({ message: '错误信息', description: errorMsg, top:"100px" })
173
+ //davis20241129添加配置是否禁用提示信息
174
+ if(error.config.skipErrorTips!==true){
175
+ notification['error']({ message: '错误信息', description: errorMsg, top:"100px" })
176
+ }
174
177
  return Promise.reject(error)
175
178
  }
176
179
  )