|
|
@@ -44,9 +44,9 @@ export default defineComponent({
|
|
|
|
|
|
// 默认配置
|
|
|
const defaultOptions = ref<Required<AdaptiveOptions>>({
|
|
|
- width: window.innerWidth,
|
|
|
- height: window.innerHeight,
|
|
|
- baseWidth: window.innerWidth,
|
|
|
+ width: 1920,
|
|
|
+ height: 948,
|
|
|
+ baseWidth: 1920,
|
|
|
minScale: 0.5,
|
|
|
maxScale: 2,
|
|
|
debounceTime: 100,
|