This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export default definePageConfig({
|
||||
navigationBarTitleText: "GameView",
|
||||
navigationBarTitleText: 'GameView',
|
||||
});
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
<template>
|
||||
<web-view
|
||||
style="height: 100vh; width: 100vw"
|
||||
:src="`https://www.jdt168.com/public/?uid=${user.uid}`"
|
||||
></web-view>
|
||||
:src="`https://www.jdt168.com/public/?uid=${user.uid}`"></web-view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from "vue";
|
||||
import { getStorageSync, useLoad } from "@tarojs/taro";
|
||||
import { WebView } from "@tarojs/components";
|
||||
import {ref} from 'vue';
|
||||
import {getStorageSync, useLoad} from '@tarojs/taro';
|
||||
import {WebView} from '@tarojs/components';
|
||||
|
||||
const user = ref<any>({});
|
||||
|
||||
useLoad(() => {
|
||||
user.value = getStorageSync("userInfo");
|
||||
user.value = getStorageSync('userInfo');
|
||||
console.log(user);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user