has the following data table then output json data like this at once: $.rawCitiesData = [ { "name":"", "code":"id", "sub": [ { "name": "", &qu...
for example, I want to get the final parent of a little black pig with an id of 10. In this table, parent_id shows 9, but what I want to get is 5. Is there any way, or I want to judge whether a record belongs to the final parent ...
how to achieve second-level comments like a brief book? my existing fields are as follows: id pid id article_id id my original implementation is as follows ** * @param $data array * @param $pid string parent_id * @param $id...
use querylist to crawl https: space.bilibili.com 35... code as follows: $url = https: space.bilibili.com 35... ; Collection rules $rules = [ title => [ a:eq(1) , text ], link => [ a:eq(0) , href ], img ...
I use vue+vue-router to develop projects, and then because it involves pages that need to introduce third parties, I use iframe to store third-party pages. but there are two problems, 1. That is, when the iframe jumps inside, pressing the return key t...
selection of Redux and Mobx ...
When the value of the field is AA , the result of the aggregate query is how does aa , get the original value? make the following query: POST 113 _search { "query": { "query_string": { "query": "J...
these two are learning the relevant syntax of ES6. When I learned about the this problem of the arrow function, when I compared it with the this in ES5, I found that the following line of code got incredible results: var age = 77; function foo() { ...