add data
Some checks are pending
Gallery App Build / macOS (push) Waiting to run
Gallery App Build / Windows (push) Waiting to run
Gallery App Build / Ubuntu (push) Waiting to run

This commit is contained in:
yxdy 2025-03-07 16:30:39 +08:00
parent ff15075c79
commit e80655c327
2 changed files with 9 additions and 1 deletions

View File

@ -40,6 +40,6 @@ Starter {
"/page": R.resolvedUrl("res/qml/window/PageWindow.qml"), "/page": R.resolvedUrl("res/qml/window/PageWindow.qml"),
"/testDesign": R.resolvedUrl("res/qml/window/TestDesignWindow.qml") "/testDesign": R.resolvedUrl("res/qml/window/TestDesignWindow.qml")
} }
WindowRouter.go("/") // newFolder, searchNear WindowRouter.go("/login") // newFolder, searchNear
} }
} }

View File

@ -9,6 +9,9 @@ import "../dataconnect"
import "../component/window" import "../component/window"
import "../component/base" import "../component/base"
import QtQuick.LocalStorage 2.0
import "../DB/database.js" as DB
Item { Item {
id: control id: control
anchors.fill: parent anchors.fill: parent
@ -19,6 +22,11 @@ Item {
property var page_type: "home" property var page_type: "home"
Component.onCompleted: {
console.log("初始化数据库")
DB.initDatabase()
}
AddPointWindow{ AddPointWindow{
id: add_point_win id: add_point_win
onClickEditIcon: { onClickEditIcon: {