You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that the tablecell.key for all cells in a table are generated with the same value when I start my node app using express.js or http-server, as shown in the image below.
But when I start my app just using node run dev, it works well.
The id generator in this lib is unique.js, the code , i also paste them here,
constnow=()=>{letcurrent=Date.now()letlast=now.last||currentnow.last=current>last ? current : last+1returnnow.last}constunique=(prefix='',suffix='')=>{returnprefix+now().toString(16)+suffix}export{unique}
Does anyone know the reason? Thank you.
The text was updated successfully, but these errors were encountered:
I found that the
tablecell.key
for all cells in a table are generated with the same value when I start my node app using express.js or http-server, as shown in the image below.But when I start my app just using
node run dev
, it works well.The id generator in this lib is
unique.js
, the code , i also paste them here,Does anyone know the reason? Thank you.
The text was updated successfully, but these errors were encountered: