chore: remove resize-observer-polyfill

This commit is contained in:
tangjinzhou 2021-04-17 23:07:55 +08:00
parent fb5d2e5054
commit 44cd93e29b
6 changed files with 0 additions and 6 deletions

View File

@ -1,4 +1,3 @@
import ResizeObserver from 'resize-observer-polyfill';
import contains from '../vc-util/Dom/contains';
export function buffer(fn, ms) {
let timer;

View File

@ -1,5 +1,4 @@
import PropTypes from '../_util/vue-types';
import ResizeObserver from 'resize-observer-polyfill';
import SubMenu from './SubMenu';
import BaseMixin from '../_util/BaseMixin';
import { getWidth, setStyle, menuAllProps } from './util';

View File

@ -1,5 +1,4 @@
// based on rc-resize-observer 0.1.3
import ResizeObserver from 'resize-observer-polyfill';
import { defineComponent } from 'vue';
import BaseMixin from '../_util/BaseMixin';
import { findDOMNode } from '../_util/props-util';

View File

@ -23,7 +23,6 @@ import {
import Track from './track';
import Dots from './dots';
import { PrevArrow, NextArrow } from './arrows';
import ResizeObserver from 'resize-observer-polyfill';
function noop() {}

View File

@ -1,5 +1,4 @@
import debounce from 'lodash-es/debounce';
import ResizeObserver from 'resize-observer-polyfill';
import PropTypes from '../../_util/vue-types';
import BaseMixin from '../../_util/BaseMixin';
import { getComponent, getSlot } from '../../_util/props-util';

View File

@ -213,7 +213,6 @@
"lodash-es": "^4.17.15",
"moment": "^2.27.0",
"omit.js": "^2.0.0",
"resize-observer-polyfill": "^1.5.1",
"scroll-into-view-if-needed": "^2.2.25",
"shallow-equal": "^1.0.0",
"vue-types": "^3.0.0",