forked from riophae/vue-treeselect
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
展开已选择项的所有父节点,并且居中显示,方便修改操作;搜索模式下展开已选项
@varlamov88 [Expand parent nodes of selected item. Scroll menu to selected item](riophae#310) 使用选项: scrollPositionOnCenter = true ``` <treeselect v-model="orgCode" :clearable="true" :scrollPositionOnCenter="true" :default-expand-level="0" /> ```
- Loading branch information
Showing
3 changed files
with
63 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@emacle/vue-treeselect", | ||
"version": "0.4.3", | ||
"version": "0.4.6", | ||
"description": "A multi-select component with nested options support for Vue.js", | ||
"author": "Riophae Lee <[email protected]>", | ||
"license": "MIT", | ||
|
@@ -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 --rule 'no-console: 2' .", | ||
"lint:js": "eslint --ext .js --ext .vue --cache --cache-location node_modules/.cache/eslint .", | ||
"lint:css": "stylelint '**/*.less'", | ||
"lint": "npm run lint:js && npm run lint:css", | ||
"verify-builds": "size-limit && node build/verify-builds.js", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters