Why can"t Mini Program connect to the server at the real machine preview? In development tools.
Why can"t Mini Program connect to the server at the real machine preview? In development tools.
your IP, can only be accessed within the local area network
cannot be accessed in the public network environment
the server domain name verification will be skipped when opening debug mode on the mobile phone
when keeping the mobile phone and the local server on the same LAN
when debugging on the mobile phone, remember to click the option button in the upper right corner of Mini Program. Select Debug Mode in the pop-up menu
Previous: Set the parameter value and meaning of ajax before sending setRequestHeader () in post mode?
Next: Require is not defind in laravel + vue Laravel Elixir project
I just got in touch with Mini Program developer and recently encountered this problem when I wrote the demo, of a music player. After I returned to the list page from the playback page (or to the home page), I entered the playback page from the entrance...
json { code:200, list:[ { type:1, path: www.file.xxxxx , name: xx , suffix: , parentid:123 ... }, { type:2, path: www.file.xxxxx , name: zzz , suffix: ".xlsx", parentid: null ...
everyone, I am a novice, just started Mini Program development, I want to dynamic binding, so that the background can be changed URL to change the page rotation pictures at any time. I encountered a problem when writing. The following is Mini Program s...
there is a recording function in WeChat Mini Programs. Call the api, of WeChat Mini Programs recorderManager to make an animation effect in the above image according to the size of the recorded audio, but the api, about the recorded audio in api can ...
at present, I have written the login operation in app.js. After obtaining Wechat s code, I obtain the authentication access-token from my own server. the code is as follows app.js onLaunch: function () { wx.login({ success: ...
first of all, the absolute positioning of the small box in wxml binds the values of left and top, both of which are 10, used to initialize the positioning the page structure is gray with a view relative positioning, wrapped with internal red view, re...
when WeChat Mini Programs shares with others on iOS, there are no pictures on the card , but pictures can be displayed on Android onShareAppMessage: function (res) { var that = this; return { title: that.data.title, path: pages detail detail?id...
when the item function is selected in the check box in WeChat Mini Programs s shopping cart, you need to get the index of the adjacent element and the parent element now the console.log is undefined how can I get the index of adjacent elements and p...
because of some requirements, I wrote tabbar by myself. But there is a problem: the drop-down refresh will cause the tabbar to scroll down with the page (there is no such problem on iphone, both development tools and Android) ask for a solution ~ ...
Why can t you assign a value? I ve tried a lot of ways, but it doesn t work . ...
1. Is this window provided by Wechat or made by the developers themselves? 2. If it is provided by Wechat, then how is it transferred? ...
The authorization box does not appear when clicked on the real machine of getphonenumber, used by . The print result is as follows mpvue --------------------------------------------- is the button used to trigger ...
Why is there no data on WeChat Mini Programs s phone when previewing? There is in the development tool simulator. what s the reason ...
1 use the wx.playBackgroundAudio (OBJECT) method on the page (switching to background) onhide () to play background music can report an error in the real machine in the development tool? Code both methods are the same onHide: function () { cons...
for example, in the tab switching page like the following, the method I use now is to click the current option to call the API, for example, click all to call, click to withdraw and call once, but this will waste the interface. What I want to do now is ...
how to securely implement RSA encryption and decryption in Mini Program? forget where to see an article, through the simulator and root permissions to get WeChat Mini Programs s source file. If you want to complete the RSA encryption and decryption i...
The question is how to trigger onreachBottom? My own result is that can only trigger onReachBottom, in the case of a scroll bar, so I can only set the height of this page to 110vh so that I can have a scroll bar. Obviously there is a flaw in this place...
pull-down refresh and pull-up load are more official, because the project interaction is special, using a card design, so the pull-up load more into the left slide load more, but the official does not have ready-made, their own is not ideal, ask the god ...
WeChat Mini Programs has added the ability to open related official account articles. is implemented in web-view, but how should this be implemented just store the url of the official account article in the database, and then pass the value to web-vi...
the following example is my test. The first one cannot be decrypted, and the second can be decrypted. In order to simplify the code, the use of wx.getSetting is removed. There are actually some . unable to decrypt: app.js const test = require(&q...