diff --git a/src/components/SelectCustomer/src/index.vue b/src/components/SelectCustomer/src/index.vue index d536b3102..587e3d748 100644 --- a/src/components/SelectCustomer/src/index.vue +++ b/src/components/SelectCustomer/src/index.vue @@ -59,7 +59,7 @@ watch(() => props.customerList, (val) => { let pageNo = ref(1) let pageSize = ref(10) let selectRef = ref('') -let selectComId = ref('popper' + (Math.random().toFixed(5) * 100000)) +let selectComId = ref('popper' + (String(Math.random()).split('.')[1])) const vElSelectLoadmore = { mounted(el, binding) { selectRef.value = el