fix: drawer log warning

pull/3359/head
tanjinzhou 2020-12-12 20:11:11 +08:00
parent f567b663fb
commit 2bb27a4210
2 changed files with 2 additions and 1 deletions

@ -1 +1 @@
Subproject commit 3fa533e01be123ff62025aed4f1919eee784ae0e
Subproject commit 8a30036b3599de72d88f90b8c08d439aaf2941a2

View File

@ -51,6 +51,7 @@ const Drawer = defineComponent({
this.sFirstEnter = this.firstEnter;
this.timeout = null;
this.children = null;
this.dom = null;
this.drawerId = Number(
(Date.now() + Math.random()).toString().replace('.', Math.round(Math.random() * 9)),
).toString(16);