greenPro/pages/extUI/data-indexed-list/data-indexed-list.vue

19 lines
423 B
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<uni-data-indexed-list collection="opendb-china-cities" field="code as value, name as text, letter as group" :page-size="500" where="type==1" orderby="group asc" :show-select="true" @click="bindClick" />
</template>
<script>
export default {
data() {
return {
}
},
methods: {
bindClick(e) {
console.log('点击item返回数据' + JSON.stringify(e))
}
}
}
</script>
<style></style>