sadais-piui 1.2.7-beta2 → 1.2.7-beta3

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.
@@ -234,10 +234,11 @@ export default {
234
234
  },
235
235
  watch: {
236
236
  rules: {
237
- handler(val) {
238
- this.validRules = val
239
- },
240
- deep: true
237
+ deep: true,
238
+ immediate: true,
239
+ handler(value) {
240
+ this.setRules(value)
241
+ }
241
242
  }
242
243
  },
243
244
  methods: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7beta2",
3
+ "version": "1.2.7beta3",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {