|
@@ -109,22 +109,25 @@ export default {
|
|
|
this.height = window.innerHeight - 200
|
|
|
},
|
|
|
initialization(){
|
|
|
- let arr;
|
|
|
- for(var i = 0 ;i<1000;i++){
|
|
|
- let num = i + 1;
|
|
|
- arr = {
|
|
|
- prop1:'测试' + num,
|
|
|
- }
|
|
|
- this.tableData1.push(arr)
|
|
|
- }
|
|
|
+ this.axios.get('/game/v1/rflemplotterys/').then((res)=>{
|
|
|
+ this.tableData1 = res.data.list
|
|
|
+ })
|
|
|
+ console.log(this.tableData1)
|
|
|
+ // let arr;
|
|
|
+ // for(var i = 0 ;i<1000;i++){
|
|
|
+ // let num = i + 1;
|
|
|
+ // arr = {
|
|
|
+ // prop1:'测试' + num,
|
|
|
+ // }
|
|
|
+ // this.tableData1.push(arr)
|
|
|
+ // }
|
|
|
this.total = this.tableData1.length;
|
|
|
+
|
|
|
},
|
|
|
//查询事件
|
|
|
selectClick(){
|
|
|
this.selectLoading = true;
|
|
|
- this.axios.get('/game/v1/rflemplotterys/').then((res)=>{
|
|
|
- console.log(res);
|
|
|
- })
|
|
|
+
|
|
|
this.selectLoading = false;
|
|
|
},
|
|
|
//行间样式
|