mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 新增撤回前进功能
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
import { getUUID } from '@/utils'
|
||||
import { PublicConfigType } from '@/packages/index.d'
|
||||
|
||||
export class publicConfig implements PublicConfigType{
|
||||
export class publicConfig implements PublicConfigType {
|
||||
public id = getUUID()
|
||||
// 重命名
|
||||
public rename = undefined
|
||||
// 基本信息
|
||||
public attr = { x: 0, y: 0, w: 500, h: 300, zIndex: 0 }
|
||||
public attr = { x: 0, y: 0, w: 500, h: 300, zIndex: -1 }
|
||||
// 设置坐标
|
||||
public setPosition(x: number, y: number): void {
|
||||
this.attr.x = x
|
||||
this.attr.y = y
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user