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