(newVal)
| 959 | return _this._value; |
| 960 | }, |
| 961 | set(newVal) { |
| 962 | // 旧数据 |
| 963 | const oldVal = this._value; |
| 964 | // 数据变化 |
| 965 | if (oldVal !== newVal) { |
| 966 | // 设置新数据值 |
| 967 | _this._value = newVal; |
| 968 | // 通知依赖 |
| 969 | triggerRef(this, newVal, oldVal); |
| 970 | } |
| 971 | }, |
| 972 | }); |
| 973 | } |
| 974 | toJSON() { |
no test coverage detected