处理冲突
This commit is contained in:
@@ -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