@v2coding/ui 0.1.41 → 0.1.42

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.
@@ -10617,6 +10617,13 @@ var script$7 = {
10617
10617
  default: ''
10618
10618
  }
10619
10619
  },
10620
+
10621
+ data() {
10622
+ return {
10623
+ key: 1
10624
+ };
10625
+ },
10626
+
10620
10627
  computed: {
10621
10628
  listeners() {
10622
10629
  // eslint-disable-next-line
@@ -10643,6 +10650,10 @@ var script$7 = {
10643
10650
  }
10644
10651
  },
10645
10652
 
10653
+ onReset() {
10654
+ this.key++;
10655
+ },
10656
+
10646
10657
  onSubmit(formData) {
10647
10658
  let searchParam = this.getSearchParams();
10648
10659
  searchParam = this.beforeSearch(searchParam, formData);
@@ -10752,6 +10763,7 @@ var __vue_render__$7 = function () {
10752
10763
  var _c = _vm._self._c || _h;
10753
10764
 
10754
10765
  return _c('ui-form', _vm._g(_vm._b({
10766
+ key: _vm.key,
10755
10767
  ref: "form",
10756
10768
  staticClass: "ui-table-select",
10757
10769
  class: {
@@ -10762,8 +10774,9 @@ var __vue_render__$7 = function () {
10762
10774
  "label-width": _vm.labelWidth
10763
10775
  },
10764
10776
  on: {
10765
- "submit": _vm.onSubmit,
10766
- "ready": _vm.onReady
10777
+ "ready": _vm.onReady,
10778
+ "reset": _vm.onReset,
10779
+ "submit": _vm.onSubmit
10767
10780
  }
10768
10781
  }, 'ui-form', _vm.$attrs, false), _vm.listeners), [_vm._t("default"), _vm._v(" "), _vm._t("submit-item", function () {
10769
10782
  return [_c('el-form-item', {
@@ -10790,7 +10803,7 @@ var __vue_staticRenderFns__$7 = [];
10790
10803
 
10791
10804
  const __vue_inject_styles__$7 = function (inject) {
10792
10805
  if (!inject) return;
10793
- inject("data-v-357d8daf_0", {
10806
+ inject("data-v-500dedbb_0", {
10794
10807
  source: ".ui-table-select{display:flex;align-items:center;flex-wrap:wrap}.ui-table-select .el-row{width:100%}.ui-table-select .fill{flex:1}.ui-table-select .el-form-item{margin-bottom:10px}.ui-table-select .el-form-item:last-child{margin-right:0}.ui-table-select .el-form-item,.ui-table-select .el-form-item.el-form-item--mini{margin-bottom:10px}",
10795
10808
  map: undefined,
10796
10809
  media: undefined