mirror of
https://github.com/dataease/dataease.git
synced 2026-05-22 13:30:19 +08:00
feat: 去掉不必要的log 和初始化数据
This commit is contained in:
@@ -72,7 +72,7 @@ const data = {
|
||||
},
|
||||
|
||||
setCurComponent(state, { component, index }) {
|
||||
console.log('curComponent' + JSON.stringify(component))
|
||||
// console.log('curComponent' + JSON.stringify(component))
|
||||
state.curComponent = component
|
||||
state.curComponentIndex = index
|
||||
},
|
||||
@@ -87,7 +87,7 @@ const data = {
|
||||
if (width) curComponent.style.width = parseInt(canvasStyleData.selfAdaption ? (width * 100 / curCanvasScale.scaleWidth) : width)
|
||||
if (height) curComponent.style.height = parseInt(canvasStyleData.selfAdaption ? (height * 100 / curCanvasScale.scaleHeight) : height)
|
||||
if (rotate) curComponent.style.rotate = rotate
|
||||
console.log('setShapeStyle' + JSON.stringify(curComponent))
|
||||
// console.log('setShapeStyle' + JSON.stringify(curComponent))
|
||||
},
|
||||
|
||||
setShapeSingleStyle({ curComponent }, { key, value }) {
|
||||
|
||||
Reference in New Issue
Block a user