i
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user