How to realize the function of identifying QR code by small program long press

how does Mini Program add the function of long press to identify the QR code? long press the picture and pop up the following operation menu
clipboard.png
is it necessary to open any settings? ask for advice

.
Mar.07,2021

if that's right, this is the option that Wechat automatically displays when he recognizes that the QR code is included in the picture. There is no need to turn on


in my understanding, only the QR code or Mini Program code in this picture has the recognition option in the pop-up menu, but the ordinary picture does not. This is Wechat's own function.
just like sending a picture with a QR code in the chat interface can also be recognized.


I have encountered this problem before. Do you have a QR code in your picture? As long as you take it, you will use the Mini Program wx.previewImage preview. If you press the button for a long time, it will appear


Mini Program can only recognize the Mini Program code, can you recognize the QR code?


can only recognize Mini Program's QR code

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-1b3a88d-2b584.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-1b3a88d-2b584.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?