1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00

chore: bump vue、vant-cli

This commit is contained in:
chenjiahan 2021-08-11 09:55:55 +08:00
parent c948002445
commit 35d5ccad3f
4 changed files with 166 additions and 1228 deletions

@ -38,7 +38,7 @@
}, },
"homepage": "https://github.com/youzan/vant-weapp#readme", "homepage": "https://github.com/youzan/vant-weapp#readme",
"devDependencies": { "devDependencies": {
"@vant/cli": "^3.10.3", "@vant/cli": "^3.11.2",
"@vant/icons": "^1.6.0", "@vant/icons": "^1.6.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-insert": "^0.5.0", "gulp-insert": "^0.5.0",
@ -48,8 +48,8 @@
"miniprogram-api-typings": "^3.1.6", "miniprogram-api-typings": "^3.1.6",
"miniprogram-ci": "^1.0.27", "miniprogram-ci": "^1.0.27",
"tscpaths": "^0.0.9", "tscpaths": "^0.0.9",
"vue": "^3.0.0", "vue": "^3.2.1",
"@vue/compiler-sfc": "^3.0.0" "@vue/compiler-sfc": "^3.2.1"
}, },
"prettier": { "prettier": {
"singleQuote": true, "singleQuote": true,

@ -187,12 +187,10 @@ VantComponent({
if (this.currentValue !== value) { if (this.currentValue !== value) {
if (Math.abs(this.currentValue - value) < STEP) { if (Math.abs(this.currentValue - value) < STEP) {
this.currentValue = value; this.currentValue = value;
} else if (this.currentValue < value) {
this.currentValue += STEP;
} else { } else {
if (this.currentValue < value) { this.currentValue -= STEP;
this.currentValue += STEP;
} else {
this.currentValue -= STEP;
}
} }
this.drawCircle(this.currentValue); this.drawCircle(this.currentValue);
} else { } else {

@ -84,8 +84,8 @@ VantComponent({
this.$emit('clear', event.detail); this.$emit('clear', event.detail);
}, },
onClickInput: function (event) { onClickInput(event) {
this.$emit('click-input', event.detail); this.$emit('click-input', event.detail);
}, },
}, },
}); });

1376
yarn.lock

File diff suppressed because it is too large Load Diff