|
@@ -23,7 +23,9 @@ const btn_key = ref(props.keys)
|
|
|
const isBubble = ref(useAppState.getBubble)
|
|
|
|
|
|
//监听
|
|
|
-watch(() => [props.keys, useAppState.getBubble, useAppState.getButtons], ([keys, bubble, btns]) => {
|
|
|
+watch(() => [
|
|
|
+ props.keys, useAppState.getBubble, useAppState.getButtons,
|
|
|
+], ([keys, bubble, btns]) => {
|
|
|
btn_key.value = keys
|
|
|
isBubble.value = bubble
|
|
|
btn_Info.value = getButtonsVal(keys)
|
|
@@ -38,7 +40,6 @@ onMounted(()=> {
|
|
|
|
|
|
//获取气泡数据
|
|
|
const getButtonsVal = (value) => {
|
|
|
- console.log(useAppState.getBubble)
|
|
|
return useAppState.getButtonsVal(value)
|
|
|
}
|
|
|
</script>
|