Blame view

pages/extUI/data-indexed-list/data-indexed-list.vue 423 Bytes
4b045f7c   刘淇   江阴初始化项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  <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>