This commit is contained in:
2023-11-03 17:18:11 +08:00
parent 14eb191813
commit 9a0b0505e9
14 changed files with 380 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ import { ref } from "vue";
import Taro from "@tarojs/taro";
import "./index.scss";
const info = ref({});
const info = ref<any>({});
Taro.useLoad(() => {
info.value = Taro.getStorageSync("gameItem");
@@ -30,8 +30,9 @@ const list = ref([
]);
const startGame = () => {
console.log(info.value);
Taro.navigateTo({
url: "/pages/yaotouzi/index/index",
url: info.value.url,
});
};
</script>