|
@@ -21,11 +21,11 @@ const meta2dDom = ref('');
|
|
|
const meta2dOptions: Options = {
|
|
|
cdn,
|
|
|
// background: '#1e2430',
|
|
|
- // x: 10,
|
|
|
- // y: 10,
|
|
|
- // width: 1920,
|
|
|
+ x: 10,
|
|
|
+ y: 10,
|
|
|
+ width: 1920,
|
|
|
// color: '#bdc7db',
|
|
|
- // height: 1080,
|
|
|
+ height: 1080,
|
|
|
defaultFormat: { ...defaultFormat },
|
|
|
};
|
|
|
|
|
@@ -115,7 +115,7 @@ const opened = () => {
|
|
|
: (meta2d.store.data as any).scaleMode === '2'
|
|
|
? 'width'
|
|
|
: true;
|
|
|
- meta2d.fitView(fit, 0);
|
|
|
+ meta2d.fitSizeView(fit, 0);
|
|
|
meta2d.setOptions({
|
|
|
scroll: (meta2d.store.data as any).scroll,
|
|
|
disableScale: (meta2d.store.data as any).isDisableScale,
|