|
@@ -119,6 +119,12 @@ export const create = (store, canvas) => {
|
|
layer.uiControl.clearUI()
|
|
layer.uiControl.clearUI()
|
|
},
|
|
},
|
|
setDefaultTable(rbTable, rtTable) {
|
|
setDefaultTable(rbTable, rtTable) {
|
|
|
|
+ if (rbTable) {
|
|
|
|
+ layer.uiControl.initDownTable(rbTable)
|
|
|
|
+ }
|
|
|
|
+ if (rtTable) {
|
|
|
|
+ layer.uiControl.initTopTable(rtTable)
|
|
|
|
+ }
|
|
},
|
|
},
|
|
readyAddShape(shapeType, onFine) {
|
|
readyAddShape(shapeType, onFine) {
|
|
layer.uiControl.selectUI = shapeType
|
|
layer.uiControl.selectUI = shapeType
|
|
@@ -136,7 +142,6 @@ export const create = (store, canvas) => {
|
|
history.handleRedo()
|
|
history.handleRedo()
|
|
},
|
|
},
|
|
setImage(url) {
|
|
setImage(url) {
|
|
- console.log(url)
|
|
|
|
layer.uiControl.setAttributes(bgImage, 'update', url)
|
|
layer.uiControl.setAttributes(bgImage, 'update', url)
|
|
},
|
|
},
|
|
export() {
|
|
export() {
|