整理持久化数据结构
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
|
||||
|
||||
import { DataCandy } from "../types/global"
|
||||
import { StorageManager } from "./StorageManager"
|
||||
|
||||
|
||||
export class DOCandy {
|
||||
|
||||
private data: any
|
||||
private data: DataCandy
|
||||
private show: number
|
||||
|
||||
constructor(dataCandy: any, show: number) {
|
||||
constructor(dataCandy: DataCandy, show: number) {
|
||||
this.data = dataCandy
|
||||
this.show = show
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user