First I disabled rightpanel.
Then I enabled rightpanel for one page.
<template>
<div>
<main-panel />
<right-panel :maxWidth="700">
<other-panel />
</right-panel>
</div>
</template>
<script>
import RightPanel from '@/components/RightPanel'
import mainPanel from './main'
import otherPanel from './others'
When I switch to the other pages without rightpanel, it will prompt a Vue warn in IE11. (Running in Chrome is ok)
[Vue warn]: Error in beforeDestroy hook: "TypeError: Object doesn't support property or method 'remove'"
...
description"Object doesn't support property or method 'remove'"
Bug report(问题描述)
First I disabled rightpanel. Then I enabled rightpanel for one page.
When I switch to the other pages without rightpanel, it will prompt a Vue warn in IE11. (Running in Chrome is ok)
I find it is caused by below code.
elx.remove() this method throw the warning.
Other relevant information(格外信息)