add data
This commit is contained in:
parent
ff15075c79
commit
e80655c327
@ -40,6 +40,6 @@ Starter {
|
||||
"/page": R.resolvedUrl("res/qml/window/PageWindow.qml"),
|
||||
"/testDesign": R.resolvedUrl("res/qml/window/TestDesignWindow.qml")
|
||||
}
|
||||
WindowRouter.go("/") // newFolder, searchNear
|
||||
WindowRouter.go("/login") // newFolder, searchNear
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,9 @@ import "../dataconnect"
|
||||
import "../component/window"
|
||||
import "../component/base"
|
||||
|
||||
import QtQuick.LocalStorage 2.0
|
||||
import "../DB/database.js" as DB
|
||||
|
||||
Item {
|
||||
id: control
|
||||
anchors.fill: parent
|
||||
@ -19,6 +22,11 @@ Item {
|
||||
|
||||
property var page_type: "home"
|
||||
|
||||
Component.onCompleted: {
|
||||
console.log("初始化数据库")
|
||||
DB.initDatabase()
|
||||
}
|
||||
|
||||
AddPointWindow{
|
||||
id: add_point_win
|
||||
onClickEditIcon: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user