@indfnd/common-mobile 0.0.47 → 0.0.49

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/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.49](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.48...v0.0.49) (2024-07-10)
6
+
7
+ ### [0.0.48](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.47...v0.0.48) (2024-07-08)
8
+
9
+
10
+ ### Features
11
+
12
+ * 移动端升级公共组件 ([9cc98bd](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/commit/9cc98bdb0a0a555c6a374a90d30d6f5382da1d1b))
13
+
5
14
  ### [0.0.47](http://git.inspur.com/imp-ec/ind-front/ind-common-mobile-front/compare/v0.0.46...v0.0.47) (2024-07-08)
6
15
 
7
16
 
@@ -2,7 +2,7 @@ import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage,
2
2
  import Vue$1 from "vue";
3
3
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
4
4
  const name$1 = "@indfnd/common-mobile";
5
- const version$2 = "0.0.46";
5
+ const version$2 = "0.0.48";
6
6
  const author$1 = "huxuetong";
7
7
  const publishConfig = {
8
8
  registry: "https://registry.npmjs.org/"
@@ -44812,7 +44812,13 @@ const __vue2_script$g = {
44812
44812
  type: String,
44813
44813
  default: "X"
44814
44814
  },
44815
- rowKey: String
44815
+ rowKey: String,
44816
+ value: {
44817
+ type: Array,
44818
+ default() {
44819
+ return [];
44820
+ }
44821
+ }
44816
44822
  },
44817
44823
  data() {
44818
44824
  return {
@@ -44825,7 +44831,7 @@ const __vue2_script$g = {
44825
44831
  formFieldList: [],
44826
44832
  subTable: [],
44827
44833
  searchFormValue: {},
44828
- data: [],
44834
+ data: _.cloneDeep(this.value),
44829
44835
  columns: [],
44830
44836
  searchVal: ""
44831
44837
  };
@@ -44845,10 +44851,9 @@ const __vue2_script$g = {
44845
44851
  },
44846
44852
  deep: true
44847
44853
  },
44848
- tableData: {
44849
- handler: function() {
44850
- this.data = _.cloneDeep(this.tableData);
44851
- this.$refs.table.toggleUnitIfNeeded();
44854
+ value: {
44855
+ handler: function(val) {
44856
+ this.data = _.cloneDeep(val);
44852
44857
  },
44853
44858
  deep: true
44854
44859
  },