Home > Back-end >  For help, the simplest mounted
For help, the simplest mounted

Time:10-12

I don't understand of JAVA, try to change a program

The following source files in the self. GetTableData (0); Is the first data,

I want to read a lot of data at the same time, using parameter 0, 1, and so on, to give a function can be the current page reference, thank you
Self. GetTableData (0);
Self. GetTableData (1);





Mounted () {
let self=this;
Self. GetTableData (0);
Self. XuanRanTable ();
},
The computed: {}
,
Methods: {
GetTableData (index) {
Let love=this;
Jq. Ajax ({
Type: "POST",
Url: 'plugin. PHP? Id=tu& A=getData ',
DataType: "json",
Data: {
Index: index,
},
Success: the function (result) {
If (result. Code===1) {
Love. TableData=https://bbs.csdn.net/topics/result.data;
Love. The category=result. The data. The category;
Love. Cdian=result. Data. Cdian;
Love. Cdian_2=result. Data. Cdian_2;
Love. Cdian_3=result. Data. Cdian_3;
Love. The days=result. The data. The days;

}
},
});
},

CodePudding user response:

Send the wrong place, vue. The problem of js to vue plate better

CodePudding user response:

This has nothing to do with the background isn't Java, you get data parsing
  • Related