mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-22 10:30:34 +03:00
use alias in imports
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"baseUrl": ".",
|
||||||
|
"paths": {
|
||||||
|
"@/*": ["src/*"]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"exclude": ["node_modules", "dist", "coverage", "docs"]
|
||||||
|
}
|
||||||
@@ -136,13 +136,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import pointerScroll from '../mixins/pointerScroll'
|
import pointerScroll from '@/mixins/pointerScroll.js'
|
||||||
import typeAheadPointer from '../mixins/typeAheadPointer'
|
import typeAheadPointer from '@/mixins/typeAheadPointer.js'
|
||||||
import ajax from '../mixins/ajax'
|
import ajax from '@/mixins/ajax.js'
|
||||||
import childComponents from './childComponents'
|
import childComponents from '@/components/childComponents.js'
|
||||||
import appendToBody from '../directives/appendToBody'
|
import appendToBody from '@/directives/appendToBody.js'
|
||||||
import sortAndStringify from '../utility/sortAndStringify'
|
import sortAndStringify from '@/utility/sortAndStringify.js'
|
||||||
import uniqueId from '../utility/uniqueId'
|
import uniqueId from '@/utility/uniqueId.js'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name VueSelect
|
* @name VueSelect
|
||||||
@@ -890,7 +890,7 @@ export default {
|
|||||||
return optionList
|
return optionList
|
||||||
}
|
}
|
||||||
|
|
||||||
let options = this.search.length
|
const options = this.search.length
|
||||||
? this.filter(optionList, this.search, this)
|
? this.filter(optionList, this.search, this)
|
||||||
: optionList
|
: optionList
|
||||||
if (this.taggable && this.search.length) {
|
if (this.taggable && this.search.length) {
|
||||||
@@ -930,7 +930,7 @@ export default {
|
|||||||
* @return {[type]} [description]
|
* @return {[type]} [description]
|
||||||
*/
|
*/
|
||||||
options(newOptions, oldOptions) {
|
options(newOptions, oldOptions) {
|
||||||
let shouldReset = () =>
|
const shouldReset = () =>
|
||||||
typeof this.resetOnOptionsChange === 'function'
|
typeof this.resetOnOptionsChange === 'function'
|
||||||
? this.resetOnOptionsChange(
|
? this.resetOnOptionsChange(
|
||||||
newOptions,
|
newOptions,
|
||||||
|
|||||||
Reference in New Issue
Block a user