refactor: move HarmonyOS project files from harmony/ to branch root

This commit is contained in:
root
2026-04-28 16:52:05 +08:00
parent 4c32dbb949
commit 11ee329943
120 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,22 @@
import web_webview from '@ohos.web.webview';
import { GraphDatabase } from '../model/GraphDatabase';
@Component
export struct GraphPage {
private controller: web_webview.WebviewController = new web_webview.WebviewController();
@Prop db: GraphDatabase;
build() {
Column() {
Web({ src: $rawfile('graph.html'), controller: this.controller })
.javaScriptAccess(true)
.width('100%')
.height('100%')
}
.width('100%')
.height('100%')
.onAppear(() => {
this.controller.refresh();
})
}
}