mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 17:51:54 +00:00
fix: tab's props not observable
This commit is contained in:
@@ -84,8 +84,7 @@ export default {
|
||||
},
|
||||
|
||||
isChecked() {
|
||||
const currentValue = this.currentValue;
|
||||
console.log('this.currentValue:', this.currentValue);
|
||||
const { currentValue } = this;
|
||||
if ({}.toString.call(currentValue) === '[object Boolean]') {
|
||||
return currentValue;
|
||||
} else if (currentValue !== null && currentValue !== undefined) {
|
||||
|
Reference in New Issue
Block a user