Skip to content

Commit a355030

Browse files
author
Taois
committed
feat: baidu->local ws
1 parent 8af06e9 commit a355030

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dashboard/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<GlobalToast />
88
<!-- 全局悬浮iframe组件 -->
99
<FloatingIframe
10-
:default-url="'https://www.baidu.com'"
10+
:default-url="'http://localhost:5757/apps/websocket'"
1111
:default-position="{ x: 33, y: 604 }"
1212
:default-size="{ width: 419, height: 883 }"
1313
button-title="打开浮窗浏览器"

dashboard/src/components/FloatingIframe.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ import {
8585
const props = defineProps({
8686
defaultUrl: {
8787
type: String,
88-
default: 'https://www.baidu.com'
88+
default: 'http://localhost:5757/apps/websocket'
8989
},
9090
defaultPosition: {
9191
type: Object,

dashboard/src/views/ActionTest.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ export default {
587587
const result = await Actions.webView({
588588
actionId: 'test-webview',
589589
title: '网页视图测试',
590-
url: 'https://www.baidu.com',
590+
url: 'http://localhost:5757/apps/websocket',
591591
width: '85%',
592592
height: '80%',
593593
showToolbar: true,

0 commit comments

Comments
 (0)