feat:蓝牙绑定和在线客服
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<view v-if="visible" class="room-location-dialog">
|
||||
<view class="room-location-dialog__mask" @tap="onCancel" />
|
||||
<view class="room-location-dialog__panel" @tap.stop>
|
||||
<text class="room-location-dialog__title">设置房间位置</text>
|
||||
<text class="room-location-dialog__title">{{ title }}</text>
|
||||
<view class="room-location-dialog__input-wrap">
|
||||
<input
|
||||
v-model="roomName"
|
||||
@@ -32,9 +32,15 @@
|
||||
<script setup lang="ts">
|
||||
import { ref, watch } from 'vue'
|
||||
|
||||
const props = defineProps<{
|
||||
visible: boolean
|
||||
}>()
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
visible: boolean
|
||||
title?: string
|
||||
}>(),
|
||||
{
|
||||
title: '设置房间位置',
|
||||
},
|
||||
)
|
||||
|
||||
const emit = defineEmits<{
|
||||
'update:visible': [value: boolean]
|
||||
|
||||
Reference in New Issue
Block a user