处理冲突
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
cancelButton="none" bgColor="#6FA2F8" textColor="#ffffff"
|
||||
v-model="searchValue" @clear="searchValue=''"
|
||||
/>
|
||||
<!-- <button type="default" @click="searchValue=''" size="mini" class="btn-search">清空</button>-->
|
||||
<!-- <button type="default" @click="searchValue=''" size="mini" class="btn-search">清空</button>-->
|
||||
</view>
|
||||
|
||||
<!-- 分页部分 -->
|
||||
@@ -183,13 +183,14 @@ const getList = async (pageIndex, pageSize) => {
|
||||
// 选中项的索引号
|
||||
const selectIndex = ref(null);
|
||||
const radioChange = (e) => {
|
||||
let {value} = e.detail; // index
|
||||
// console.log(value);
|
||||
const eventChannel = instance.getOpenerEventChannel();
|
||||
eventChannel.emit('onCustomerSelected', list.value[value]);
|
||||
const selectedIndex = e.detail.value;
|
||||
//发送全局事件
|
||||
uni.$emit('onCustomerSelected',list.value[selectedIndex])
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user