classcard-ui 0.2.951 → 0.2.953

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": "classcard-ui",
3
- "version": "0.2.951",
3
+ "version": "0.2.953",
4
4
  "main": "dist/classcard-ui.umd.min.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -86,14 +86,26 @@ export default {
86
86
  },
87
87
  },
88
88
  watch: {
89
- phone(newVal) {
90
- console.log("phone watcher, value=>", newVal);
91
- this.setValueForPhone(newVal);
89
+ // phone() {
90
+ // console.log("phone watcher, value=>", newVal);
91
+ // this.value = this.phone;
92
+ // this.setValueForPhone(newVal);
93
+ // },
94
+ phone: {
95
+ handler(newValue) {
96
+ console.log("new value", newValue);
97
+ this.value = newValue;
98
+ },
99
+ deep: true,
92
100
  },
93
101
  value(newVal) {
102
+ console.log("this is onChagne function", newVal);
94
103
  this.$emit("onChange", newVal);
95
104
  },
96
105
  },
106
+ mounted() {
107
+ console.log("test");
108
+ },
97
109
  };
98
110
  </script>
99
111
  <style>