iv-npm 1.0.42 → 1.0.43

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": "iv-npm",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -623,8 +623,10 @@ var script = /*#__PURE__*/vue.defineComponent({
623
623
  * 侦听器-------------------------------------
624
624
  * */
625
625
 
626
- vue.watch(props, function () {
627
- console.log(props, "11111111111111111111111122222222222222222222");
626
+ vue.watch(function () {
627
+ return props.params;
628
+ }, function () {
629
+ console.log(props.params, "11111111111111111111111122222222222222222222");
628
630
  });
629
631
  /**
630
632
  * 获取数据-------------------------------------
@@ -619,8 +619,10 @@ var script = /*#__PURE__*/defineComponent({
619
619
  * 侦听器-------------------------------------
620
620
  * */
621
621
 
622
- watch(props, function () {
623
- console.log(props, "11111111111111111111111122222222222222222222");
622
+ watch(function () {
623
+ return props.params;
624
+ }, function () {
625
+ console.log(props.params, "11111111111111111111111122222222222222222222");
624
626
  });
625
627
  /**
626
628
  * 获取数据-------------------------------------
@@ -623,8 +623,10 @@
623
623
  * 侦听器-------------------------------------
624
624
  * */
625
625
 
626
- vue.watch(props, function () {
627
- console.log(props, "11111111111111111111111122222222222222222222");
626
+ vue.watch(function () {
627
+ return props.params;
628
+ }, function () {
629
+ console.log(props.params, "11111111111111111111111122222222222222222222");
628
630
  });
629
631
  /**
630
632
  * 获取数据-------------------------------------