From bc485a77b348e8e4b9789b9a96252489e6054fae Mon Sep 17 00:00:00 2001 From: qiaokun Date: Fri, 3 Jul 2020 14:14:46 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20=E5=B1=95=E5=BC=80=E5=B7=B2=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=A1=B9=E7=9A=84=E6=89=80=E6=9C=89=E7=88=B6=E8=8A=82?= =?UTF-8?q?=E7=82=B9=EF=BC=8C=E5=B9=B6=E4=B8=94=E5=B1=85=E4=B8=AD=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E6=96=B9=E4=BE=BF=E4=BF=AE=E6=94=B9=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=EF=BC=9B=E6=90=9C=E7=B4=A2=E6=A8=A1=E5=BC=8F=E4=B8=8B?= =?UTF-8?q?=E5=B1=95=E5=BC=80=E5=B7=B2=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @varlamov88 [Expand parent nodes of selected item. Scroll menu to selected item](https://github.com/riophae/vue-treeselect/pull/310) 使用选项: scrollPositionOnCenter = true ``` ``` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ba1f278b..a1dbcc5f 100755 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "testonly": "npm run cleanup-cov && karma start test/unit/karma.config.js --single-run", "test": "npm run testonly", "pretest": "npm run lint", - "lint:js": "eslint --ext .js --ext .vue --cache --cache-location node_modules/.cache/eslint .", + "lint:js": "eslint --ext .js --ext .vue --cache --cache-location node_modules/.cache/eslint --rule 'no-console: 2' .", "lint:css": "stylelint '**/*.less'", "lint": "npm run lint:js && npm run lint:css", "verify-builds": "size-limit && node build/verify-builds.js",