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