this is the data of setData
,
how can I render normally?
this is the data of setData
,
how can I render normally?
that is an array of objects. You want to render a certain value obj [0] .xxx attribute to get the specific value {{}}
yours is an object, just like that when rendered, you can take a property inside and put it in {{}}
.Previous: The echarts stacked bar chart will go beyond the display area when the minimum height is set.
Custom component life cycle res.height sometimes reports to null ready: function () { var that = this var query = wx.createSelectorQuery().in(this) query.select( .question ).boundingClientRect(function (res) { that.setData({ questionHeight: re...
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...
use promise encapsulation ...
can the share button recommended to friends make it disappear? or cannot open the Mini Program after sharing ...
< H2 > wx.savefile () cache problem < H2 > wx.savefile() this picture is truncated by remote debugging. therefore, the size limit of local file storage indicated on the document is 10m , which means that sandboxie s cache is a total size of 1...
how does WeChat Mini Programs combine words and pictures into a new picture? ...
at present, I have such a list. Because Mini Program has to parse HTML in order to display content normally, he uses the plug-in of wxParse. The place where I draw the red box is also from the editor in the background. Now the cycle is coming out. But s...
there is already a Mini Program, and then develop a new Mini Program, so is appid using the same one? ...
can I customize special fonts for Mini Program canvas drawings? ...
Environment WeChat Mini Programs. Code for example: module.exports = { request: function(method,url,data){ return new Promise((resolve,reject)=>{ wx.request({ url:url, method:method, ...
<view class= a > <text> Hello {{name}}!< text> <block wx:for= {{datas}} wx:key= u > <button data-index= {{index}} class= {{index==id?classname:""}} data-m= {{t==index}} bindtap="changeName...
WeChat Mini Programs page has a forward button, how to forward the specified picture to friends or moments? ...
< H2 > Development < H2 > ...
the updated API for obtaining user information requires to be triggered by button to authorize. Placing a button to authorize the user feels like an unfriendly experience. How do you handle it ...
:; ****...
<view wx:for= {{name_tel}} > <label for= {{item.id}} style="background-image:url({{item.imgUrl}})">< label> <input id= {{item.id}} type= text placeholder= {{item.placeholder}} >< input> <...
or single-page and multi-page, WeChat Mini Programs can do it? ...
how does WeChat Mini Programs implement something like datepicker or implementation of the selection plug-in for this date range (split into two separate picker to choose the start time and the end time, needless to say, that s what you do now) ...
when Mini Program bindtouchend slides to the left, moving out of the screen does not trigger it, but moving up and down to the right can trigger wxml . <view id="id" class = "ball" bindtouchstart = "handletouchtart" bin...
does Mini Program need to introduce es6-promise library to use Promise? I did not report wrong when I directly used Promise, but I searched out some articles saying that Mini Program canceled articles such as Promise or Mini Program needed to introduce ...