Mon Jul 17 07:15:00 UTC 2023 inscode

上级 83737222
......@@ -11,7 +11,7 @@ const chuanVal = () => {
//使用emit传值
//第一个参数是要传的值的名称(必须要和声明的值的名称相同)
//第二个参数是要传的值
emit("LvXingZhe", num+"旅行者,当你重新踏上旅途...");
// emit("LvXingZhe", num+"旅行者,当你重新踏上旅途...");
//----------------------------------------
num++;
}
......
......@@ -5,6 +5,7 @@ import child from './child.vue';
const game = ref("");
const getValaaa = (data) => {
game.value = data;
console.log("11111111111ss");
}
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册