[improvement] optimize watch options (#4075)
This commit is contained in:
@@ -20,9 +20,7 @@ export function PortalMixin({ afterPortal }: PortalMixinOptions) {
|
||||
},
|
||||
|
||||
watch: {
|
||||
getContainer() {
|
||||
this.portal();
|
||||
}
|
||||
getContainer: 'portal'
|
||||
},
|
||||
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user