|
@@ -79,7 +79,7 @@ export const create = (store, canvas) => {
|
|
|
const onSelect = (type, data = {}) => {
|
|
|
console.log(type, data)
|
|
|
refs.bus.emit('selectShape', {
|
|
|
- data: { type, ...data },
|
|
|
+ data: { type: 'Table', ...data },
|
|
|
setColor(color) {
|
|
|
layer.uiControl.setAttributes(type, 'color', color)
|
|
|
},
|