✨ feat(ID1000775):搜索功能优化
This commit is contained in:
@@ -47,12 +47,24 @@ const LinkBlueTooth = () => {
|
||||
const onFindDevice = () => {
|
||||
check().then((res) => {
|
||||
if (linkStatus == 1) {
|
||||
// 暂时不开放蓝牙 有需要屏蔽此段代码
|
||||
return Taro.showToast({
|
||||
icon: 'none',
|
||||
title: '【蓝牙设备】暂未对外开放敬请期待',
|
||||
})
|
||||
|
||||
Taro.showToast({
|
||||
title: '请打开手机蓝牙',
|
||||
icon: 'none',
|
||||
})
|
||||
}
|
||||
else {
|
||||
// 暂时不开放蓝牙 有需要屏蔽此段代码
|
||||
return Taro.showToast({
|
||||
icon: 'none',
|
||||
title: '【蓝牙设备】暂未对外开放敬请期待',
|
||||
})
|
||||
|
||||
setPopupShow(true)
|
||||
onFindEven()
|
||||
}
|
||||
@@ -68,7 +80,7 @@ const LinkBlueTooth = () => {
|
||||
return (
|
||||
<>
|
||||
<View className={styles.main}>
|
||||
<SearchInput title="蓝牙设备" showIcon>
|
||||
<SearchInput title="取色设备" showIcon>
|
||||
<View className={styles.bluetooth_link} onClick={onFindDevice}>
|
||||
<View className={classnames(styles.link_status, linkStatus == 3 && styles.link_statused, linkStatus == 2 && styles.link_statused_no)}></View>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user