You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
379 B
22 lines
379 B
<template> |
|
<uni-indexed-list :options="list" :show-select="true" @click="bindClick" /> |
|
</template> |
|
|
|
<script> |
|
import airport from '@/common/airport.js' |
|
export default { |
|
components: {}, |
|
data() { |
|
return { |
|
list: airport.list |
|
} |
|
}, |
|
methods: { |
|
bindClick(e) { |
|
console.log('点击item,返回数据' + JSON.stringify(e)) |
|
} |
|
} |
|
} |
|
</script> |
|
|
|
<style></style> |