From 853b20b6d4dc34bff47aaa58080cbee6c1ac83ef Mon Sep 17 00:00:00 2001
From: lisida <506400117@qq.com>
Date: Thu, 14 Feb 2019 18:42:07 +0800
Subject: [PATCH] push
---
src/views/tool.blade.php | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/src/views/tool.blade.php b/src/views/tool.blade.php
index c93ce2b..c84092b 100644
--- a/src/views/tool.blade.php
+++ b/src/views/tool.blade.php
@@ -179,27 +179,27 @@
params.param.map(function (val, index) {
var $trTemp = $("
");
//往行里面追加 td单元格
- $trTemp.append(""+ data[i].param_name +" | ");
- $trTemp.append(""+ data[i].param_type +" | ");
- $trTemp.append(""+ data[i].param_title +" | ");
- $trTemp.append(""+ data[i].param_default +" | ");
- $trTemp.append(""+ data[i].param_require +" | ");
- $trTemp.appendTo("#methodRequird");
+ $trTemp.append(""+ val.param_name +" | ");
+ $trTemp.append(""+ val.param_type +" | ");
+ $trTemp.append(""+ val.param_title +" | ");
+ $trTemp.append(""+ val.param_default +" | ");
+ $trTemp.append(""+ val.param_require +" | ");
+ $trTemp.appendTo("#paramRequird");
})
params.return.map(function (val, index) {
var $trTemp = $("
");
//往行里面追加 td单元格
- $trTemp.append(""+ data[i].return_name +" | ");
- $trTemp.append(""+ data[i].return_type +" | ");
- $trTemp.append(""+ data[i].return_title +" | ");
- $trTemp.appendTo("#methodRequird");
+ $trTemp.append(""+ val.return_name +" | ");
+ $trTemp.append(""+ val.return_type +" | ");
+ $trTemp.append(""+ val.return_title +" | ");
+ $trTemp.appendTo("#returnRequird");
})
params.code.map(function (val, index) {
var $trTemp = $("
");
//往行里面追加 td单元格
- $trTemp.append(""+ data[i].code +" | ");
- $trTemp.append(""+ data[i].content +" | ");
- $trTemp.appendTo("#methodRequird");
+ $trTemp.append(""+ val.code +" | ");
+ $trTemp.append(""+ val.content +" | ");
+ $trTemp.appendTo("#codeRequird");
})
}