|
|
@@ -346,6 +346,7 @@ export function Home() {
|
|
|
clientId: string,
|
|
|
workspaceId: string,
|
|
|
workspaceName: string,
|
|
|
+ workspaceCode: string,
|
|
|
userName: string,
|
|
|
timestamp: string,
|
|
|
signature: string
|
|
|
@@ -437,7 +438,8 @@ export function Home() {
|
|
|
const clientId = urlParams.get('client_id');
|
|
|
const timestamp = urlParams.get('timestamp');
|
|
|
const signature = urlParams.get('signature');
|
|
|
- if (!clientId || !workspaceId || !workspaceName || !username || !timestamp || !signature) {
|
|
|
+ const workspaceCode = urlParams.get('workspace_code');
|
|
|
+ if (!clientId || !workspaceId || !workspaceName || !username || !timestamp || !signature||!workspaceCode) {
|
|
|
// 处理缺失参数的情况
|
|
|
Modal.error({
|
|
|
title: '参数错误',
|
|
|
@@ -453,6 +455,7 @@ export function Home() {
|
|
|
clientId: clientId,
|
|
|
workspaceId: workspaceId,
|
|
|
workspaceName: workspaceName,
|
|
|
+ workspaceCode: workspaceCode,
|
|
|
userName: username,
|
|
|
timestamp: timestamp,
|
|
|
signature: signature
|