From 5d10a75ad4c5982375487ef37a9d356f5f3ef243 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 22 六月 2023 20:10:04 +0800 Subject: [PATCH] 2023-06-22 --- src/views/mkiframe/index.jsx | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/src/views/mkiframe/index.jsx b/src/views/mkiframe/index.jsx index 6967cea..6cfd00d 100644 --- a/src/views/mkiframe/index.jsx +++ b/src/views/mkiframe/index.jsx @@ -1,6 +1,7 @@ import React, {Component} from 'react' import { Spin } from 'antd' +import Api from '@/api' import './index.scss' class MkIframe extends Component { @@ -9,9 +10,19 @@ } UNSAFE_componentWillMount() { - // const { menuId, userId, loginUid, bid } = this.props.match.params + const { menuId, userId, loginUid, bid } = this.props.match.params + sessionStorage.setItem('LoginUID', '202306221645124938E53FE0520A64CE2B486') // sessionStorage.setItem('LoginUID', loginUid) + console.log(userId) + Api.getTouristMsg('login_check', 'http://demo.mk9h.cn/erp_new/webapi/dostars').then(res => { + console.log(res) + if (res.status) { + + } else { + + } + }) } componentDidMount() { -- Gitblit v1.8.0