1. The bug description
Gets an array from the interface. The array is of the form:
list: [
"1. Want to study abroad, but don't know how to prepare for the TOEFL?"."2. Took the TOEFL multiple times but still can't break the mark?"."3. Read a lot of information, but still confused to toefl!"."4. Enrolled in a lot of courses, except expensive, no other function ~"].Copy the code
First of all, the H5 page displayed in the browser and wechat is a normal array, and the page is also displayed in a row
And then the problem is, in App it’s one character on a line,
The H5 pages are built into the Android or ios in the webview shows, is one character of a line, I also met for the first time, initially considered problems covering the style, a few times after STH over and over again, found that still not solve, finally wrote a fixed data, found in the page can display properly, first, If there is a problem with this interface, then there should be a problem with other arrays as well
What’s the matter? It’s at its own pace??
2. Didn’t come up with 123
Now that you have to this step, then print it out and have a look, a console view, data right ah, open the App, or not ah, instantaneous head, look up some information, did not find, very embarrassed, finally only oneself write a method to judge and then converted to an array, the last also did not find the problem is how to appear, can only be recorded, Remind yourself that you have time to look it up,
If a friend knows this reason, might as well tell the younger brother, very grateful, I am a novice!!