flx:提交orc
This commit is contained in:
parent
199a50c6a2
commit
e04f2b6f6d
@ -67,8 +67,8 @@ Vue.use(VueQuillEditor) // 注册富文本编辑器
|
||||
Vue.use(SlideVerify)
|
||||
Vue.use(VueAwesomeSwiper)
|
||||
|
||||
import VueKonva from 'vue-konva';
|
||||
Vue.use(VueKonva);
|
||||
// import VueKonva from 'vue-konva';
|
||||
// Vue.use(VueKonva);
|
||||
|
||||
// 全局组件挂载
|
||||
Vue.component('Pagination', Pagination)
|
||||
|
||||
@ -241,6 +241,7 @@ export default {
|
||||
showTools: { type: Boolean, default: true },
|
||||
placement: { type: String, default: "left" },
|
||||
configJson: { type: String, default: () => "" },
|
||||
zonePlaceInfoId: { type: String, default: () => "" },
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -973,6 +974,12 @@ export default {
|
||||
strokeWidth(newVal) {
|
||||
if (this.boardObj) this.boardObj.freeDrawingBrush.width = newVal;
|
||||
},
|
||||
zonePlaceInfoId(newVal) {
|
||||
if (newVal) {
|
||||
this.initCanvas();
|
||||
this.initEvent();
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@ -127,6 +127,7 @@
|
||||
ref="canvasfabric"
|
||||
:canvasWidth="width"
|
||||
:canvasHeight="height"
|
||||
:zonePlaceInfoId="zonePlaceInfo.id"
|
||||
:configJson="zonePlaceInfo.configJson"
|
||||
></MyPictode>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user