is there any solution similar to vue s computed and watch in native Mini Program? the one I use now is not perfect. take watch as an example. If you change data.obj, you can monitor it. If you change data.obj.a, you will not be able to monitor it....
that is, if the value bound on the page changes, the value in data can also be changed accordingly, now I mainly don t want to write about input events. want it to change automatically, is there any way, bosses? ...
problem description Node script filters and deletes redundant CSS files in WeChat Mini Programs s project wrote a script himself, but the dynamically bound class cannot accurately get ...
Mini Program officially has no entry to query the version number, so I have to write it manually. Every updated version number will be saved in the changelog of the project, so how can I call up the version record in changelog ...
is to click on the upper left corner to return to the previous page, I would like to make a judgment, is there such an event? ...
I have tried the following useless --root { --Colors: red; } .container { color: var(--Colors); } is there another way to set variables? ...
can show the fluctuation of the data ...
wx.chooseImage({}) as soon as the above interface is called, it prompts the following error VM8363:1 appServiceSDKScriptError Cannot read property mode of undefined;at api onAppEnterBackground callback function TypeError: Cannot read property mod...
now Mini Program cannot be shared in moments. in addition to sharing Mini Program s QR code, is there another way to ask everyone? ...
is there such an api? can only be opened by clicking the button button? ...
such as pages:[ "pages person person", "pages index index" ] that is, the initial page on the computer is person, , but after uploading to the trial version, the initial page is still index . have you ever encountered this...
as shown in the figure below, I wrote it using css, but it doesn t look very smooth. It looks a little different. Do I need to use js? If there is a small example, I hope you can refer to it, that is, I think some Mini Program will appear when you ente...
WXML <block wx:for="{{images}}" wx:key="*this" wx:for-index="idx"> <view wx:if="{{ item +idx > 0}}" class="q-image-progress"> < view> ...
change the setData Boolean value when you slide the phone screen to determine whether the user scrolls up or down, which is used to change the top value of the element. Debugger has actually been executed, but the page is executed asynchronously with a b...
WeChat Mini Programs now has a cloud development and has provided a server environment. All you have to do is write business code. how to structure and allocate the backend of cloud-developed Mini Program. ...
the pictures uploaded by WeChat Mini Programs Cloud Development Simulator cannot be seen on mobile phones. The simulator uploaded by mobile phone can t be seen either. When publishing, only users can see their own when uploading....
both WeChat Mini Programs and Alipay Mini Program have the possibility of source code being downloaded. at this time, how can we control the back-end interface not to be stolen by others? ...
I set margin-top or 50px where onReachBottomDistance is greater than 50page. Can I change this value ...
Today, you can t get it with getCurrentPages (). There s only one member in the array all the time. Is there any other way? ...
if it is not the official setting, could you tell me how to make the three dots flashing back and forth ...
problem description for this layout of the page, some of the grid will exceed the width of the div, but the same line of the next div will not be pushed back, how to make the grid of the same line behind instead of being overwritten. I am not ver...
use php-amqplib to connect to rabbitmq server remotely, regardless of network latency, each connection will cost at least 400ms, which is too slow. If it takes more than 200 ms, to execute a php connection to the local rabbitmq on the server side, a...
forhttp: 192.168.10.244()? ...
the array operation of js has always been a headache for me. In the past, dealing with arrays is a variety of foreach nesting, filter,map. After writing, I always feel that there will be some optimization, but I really don t know how to optimize it bec...
when opening a file using fopen while (! feof ($File)) {) $arr = explode(" t", trim(fgets($File))); echo $arr[1]; } when making a judgment, because the last line of the open file is a blank line, use the index value of the array to output ...