Amfe-flexible does not automatically add data-dpr?

now I use amfe-flexible for mobile adaptation.

he would have added the data-dpr attribute to the html root node, and then set the font-size size based on this attribute. But the problem is that no matter how I set it, he won"t add the data-dpr attribute to me now, and the font size won"t take effect. However, data-dpr is sometimes set.

according to the method on the Internet, you don"t have to set up your own viewport?

by the way, are amfe-flexible and lib-flexible just questions of old and new versions?

Dec.20,2021

the transition scheme of lib-flexible can be abandoned. Amfe-flexible removes set-dpr, and has to introduce

into the header.
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">

Brother, have you solved the problem? Excuse me, using amfe-flexible for mobile adaptation cannot support / * px*/ in the later stage of mobile adaptation, can it? What if you want to set the font size on different devices?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb8217-26a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb8217-26a9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?