|
@@ -12,6 +12,7 @@ import { SZYXLocalStorageHelper } from '../utils/SZYXLocalStorageHelper';
|
|
|
import { SZYXLocalStorageKeys } from '../utils/SZYXLocalStorageKeys';
|
|
|
import { XWebManager } from '../utils/XWebManager';
|
|
|
import { TitleBarBtn } from '../view/SafeView';
|
|
|
+import { GlobalContext } from '../ContextConfig';
|
|
|
|
|
|
@Entry({ routeName: 'XWebview' })
|
|
|
@Component
|
|
@@ -378,7 +379,7 @@ export struct XWebview {
|
|
|
if (index === 0) {
|
|
|
this.controller.refresh()
|
|
|
} else if (index === 1) {
|
|
|
-
|
|
|
+ GlobalContext.getContext().openLink(this.controller.getUrl())
|
|
|
} else {
|
|
|
pasteboard.getSystemPasteboard()
|
|
|
.setData(pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, this.controller.getUrl()), () => {
|