zartui 3.1.57 → 3.1.58

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/lib/zartui.cjs.js CHANGED
@@ -11670,6 +11670,11 @@ var stdin_default$T = vue.defineComponent({
11670
11670
  const dataList = vue.ref(deepClone(props.treeData));
11671
11671
  const breadcrumbData = vue.ref([]);
11672
11672
  const historyLayers = vue.ref([]);
11673
+ vue.watch(() => props.treeData, () => {
11674
+ dataList.value = deepClone(props.treeData);
11675
+ }, {
11676
+ deep: true
11677
+ });
11673
11678
  const isDisabled = (item) => {
11674
11679
  if (!props.autoChangeToChildren && props.disableParent && item.children) {
11675
11680
  return true;
@@ -20963,7 +20968,7 @@ const Lazyload = {
20963
20968
  });
20964
20969
  }
20965
20970
  };
20966
- const version = "3.1.56";
20971
+ const version = "3.1.57";
20967
20972
  function install(app) {
20968
20973
  const components = [
20969
20974
  ActionSheet,
package/lib/zartui.es.js CHANGED
@@ -11668,6 +11668,11 @@ var stdin_default$T = defineComponent({
11668
11668
  const dataList = ref(deepClone(props.treeData));
11669
11669
  const breadcrumbData = ref([]);
11670
11670
  const historyLayers = ref([]);
11671
+ watch(() => props.treeData, () => {
11672
+ dataList.value = deepClone(props.treeData);
11673
+ }, {
11674
+ deep: true
11675
+ });
11671
11676
  const isDisabled = (item) => {
11672
11677
  if (!props.autoChangeToChildren && props.disableParent && item.children) {
11673
11678
  return true;
@@ -20961,7 +20966,7 @@ const Lazyload = {
20961
20966
  });
20962
20967
  }
20963
20968
  };
20964
- const version = "3.1.56";
20969
+ const version = "3.1.57";
20965
20970
  function install(app) {
20966
20971
  const components = [
20967
20972
  ActionSheet,
package/lib/zartui.js CHANGED
@@ -11908,6 +11908,11 @@
11908
11908
  const dataList = vue.ref(deepClone(props.treeData));
11909
11909
  const breadcrumbData = vue.ref([]);
11910
11910
  const historyLayers = vue.ref([]);
11911
+ vue.watch(() => props.treeData, () => {
11912
+ dataList.value = deepClone(props.treeData);
11913
+ }, {
11914
+ deep: true
11915
+ });
11911
11916
  const isDisabled = (item) => {
11912
11917
  if (!props.autoChangeToChildren && props.disableParent && item.children) {
11913
11918
  return true;
@@ -25023,7 +25028,7 @@
25023
25028
  });
25024
25029
  }
25025
25030
  };
25026
- const version = "3.1.56";
25031
+ const version = "3.1.57";
25027
25032
  function install(app) {
25028
25033
  const components = [
25029
25034
  ActionSheet,