flx:提交orc

This commit is contained in:
Rain_ 2025-07-24 18:59:14 +08:00
parent 199a50c6a2
commit e04f2b6f6d
3 changed files with 10 additions and 2 deletions

View File

@ -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)

View File

@ -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>

View File

@ -127,6 +127,7 @@
ref="canvasfabric"
:canvasWidth="width"
:canvasHeight="height"
:zonePlaceInfoId="zonePlaceInfo.id"
:configJson="zonePlaceInfo.configJson"
></MyPictode>
</div>