|
@@ -79,11 +79,11 @@ const opened = () => {
|
|
|
? 'width'
|
|
|
: true;
|
|
|
meta2d.fitSizeView(fit, 10);
|
|
|
- if ((meta2d.store.data as any).scroll) {
|
|
|
- meta2d.setOptions({
|
|
|
- scroll: true,
|
|
|
- });
|
|
|
- }
|
|
|
+ meta2d.setOptions({
|
|
|
+ scroll: (meta2d.store.data as any).scroll,
|
|
|
+ disableScale: (meta2d.store.data as any).isDisableScale,
|
|
|
+ disableTranslate: (meta2d.store.data as any).isDisableTranslate,
|
|
|
+ });
|
|
|
};
|
|
|
|
|
|
onUnmounted(() => {
|