iv-npm 1.0.39 → 1.0.40
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
|
@@ -619,6 +619,15 @@ var script = /*#__PURE__*/vue.defineComponent({
|
|
|
619
619
|
vue.onBeforeMount(function () {
|
|
620
620
|
getData();
|
|
621
621
|
});
|
|
622
|
+
/**
|
|
623
|
+
* 侦听器-------------------------------------
|
|
624
|
+
* */
|
|
625
|
+
|
|
626
|
+
vue.watch(function () {
|
|
627
|
+
return props.params;
|
|
628
|
+
}, function () {
|
|
629
|
+
console.log(props.params, "11111111111111111111111122222222222222222222");
|
|
630
|
+
});
|
|
622
631
|
/**
|
|
623
632
|
* 获取数据-------------------------------------
|
|
624
633
|
* */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createVNode, createTextVNode, onBeforeMount, computed, unref, isRef, createElementVNode } from 'vue';
|
|
1
|
+
import { defineComponent, ref, resolveComponent, openBlock, createBlock, withCtx, renderSlot, createVNode, createTextVNode, onBeforeMount, watch, computed, unref, isRef, createElementVNode } from 'vue';
|
|
2
2
|
|
|
3
3
|
var _hoisted_1$1 = /*#__PURE__*/createTextVNode("npm包");
|
|
4
4
|
/**
|
|
@@ -615,6 +615,15 @@ var script = /*#__PURE__*/defineComponent({
|
|
|
615
615
|
onBeforeMount(function () {
|
|
616
616
|
getData();
|
|
617
617
|
});
|
|
618
|
+
/**
|
|
619
|
+
* 侦听器-------------------------------------
|
|
620
|
+
* */
|
|
621
|
+
|
|
622
|
+
watch(function () {
|
|
623
|
+
return props.params;
|
|
624
|
+
}, function () {
|
|
625
|
+
console.log(props.params, "11111111111111111111111122222222222222222222");
|
|
626
|
+
});
|
|
618
627
|
/**
|
|
619
628
|
* 获取数据-------------------------------------
|
|
620
629
|
* */
|
|
@@ -619,6 +619,15 @@
|
|
|
619
619
|
vue.onBeforeMount(function () {
|
|
620
620
|
getData();
|
|
621
621
|
});
|
|
622
|
+
/**
|
|
623
|
+
* 侦听器-------------------------------------
|
|
624
|
+
* */
|
|
625
|
+
|
|
626
|
+
vue.watch(function () {
|
|
627
|
+
return props.params;
|
|
628
|
+
}, function () {
|
|
629
|
+
console.log(props.params, "11111111111111111111111122222222222222222222");
|
|
630
|
+
});
|
|
622
631
|
/**
|
|
623
632
|
* 获取数据-------------------------------------
|
|
624
633
|
* */
|