LaiTool V3.0.1-preview.5
This commit is contained in:
@@ -43,6 +43,7 @@ export const useSoftwareStore = defineStore('software', {
|
||||
async GetComponentSize() {
|
||||
debugger
|
||||
if (this.componentSize.length == 0) {
|
||||
//@ts-ignore
|
||||
let res = await window.setting.GetComponentSize()
|
||||
this.componentSize = res.data
|
||||
}
|
||||
@@ -54,6 +55,7 @@ export const useSoftwareStore = defineStore('software', {
|
||||
// 将当前的software数据保存到数据库中
|
||||
async SaveSoftware() {
|
||||
// 保存数据
|
||||
// @ts-ignore
|
||||
return await window.setting.SaveSoftWareSetting(JSON.parse(JSON.stringify(this.softWare)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user