fix(top): fix
This commit is contained in:
@@ -2866,9 +2866,8 @@ export const usePaperStore = create<PaperState>((set) => ({
|
||||
useTopToolsStore.getState().activeOperation
|
||||
)
|
||||
let label_class = category?.label_class || ""
|
||||
let subAttr = Object.assign(
|
||||
{},
|
||||
useTopToolsStore.getState().subAttributes[label_class]
|
||||
let subAttr = safeClone(
|
||||
useTopToolsStore.getState().subAttributes[label_class] || {}
|
||||
)
|
||||
|
||||
// 镂空或分割的多边形存值
|
||||
@@ -3352,9 +3351,8 @@ export const usePaperStore = create<PaperState>((set) => ({
|
||||
useTopToolsStore.getState().activeOperation
|
||||
)
|
||||
let label_class = category?.label_class || ""
|
||||
let subAttr = Object.assign(
|
||||
{},
|
||||
useTopToolsStore.getState().subAttributes[label_class]
|
||||
let subAttr = safeClone(
|
||||
useTopToolsStore.getState().subAttributes[label_class] || {}
|
||||
)
|
||||
useLabelStore
|
||||
.getState()
|
||||
@@ -3623,9 +3621,8 @@ export const usePaperStore = create<PaperState>((set) => ({
|
||||
useTopToolsStore.getState().activeOperation
|
||||
)
|
||||
let label_class = category?.label_class || ""
|
||||
let subAttr = Object.assign(
|
||||
{},
|
||||
useTopToolsStore.getState().subAttributes[label_class]
|
||||
let subAttr = safeClone(
|
||||
useTopToolsStore.getState().subAttributes[label_class] || {}
|
||||
)
|
||||
|
||||
// 多线段存值
|
||||
@@ -3998,9 +3995,8 @@ export const usePaperStore = create<PaperState>((set) => ({
|
||||
useTopToolsStore.getState().activeOperation
|
||||
)
|
||||
let label_class = category?.label_class || ""
|
||||
let subAttr = Object.assign(
|
||||
{},
|
||||
useTopToolsStore.getState().subAttributes[label_class]
|
||||
let subAttr = safeClone(
|
||||
useTopToolsStore.getState().subAttributes[label_class] || {}
|
||||
)
|
||||
|
||||
// 存值
|
||||
|
||||
Reference in New Issue
Block a user