|
@@ -90,7 +90,7 @@
|
|
|
- POST
|
|
|
|
|
|
**示例:**
|
|
|
- - ` http://xx.com/api/user/login?username=xxx&password=xxx `
|
|
|
+ - ` http://xx.com/api/user/login?username=xxx&password=xxx `
|
|
|
|
|
|
**请求参数:**
|
|
|
|
|
@@ -336,12 +336,14 @@ export default {
|
|
|
|
|
|
//插入api模板
|
|
|
insert_api_template(){
|
|
|
- this.insertValue(this.$refs.api_doc_templ.innerHTML ) ;
|
|
|
+// this.insertValue(this.$refs.api_doc_templ.innerHTML ) ;
|
|
|
+ this.insertValue(this.$refs.api_doc_templ.childNodes[0].nodeValue ) ;
|
|
|
},
|
|
|
|
|
|
//插入数据字典模板
|
|
|
insert_database_template(){
|
|
|
- this.insertValue(this.$refs.database_doc_templ.innerHTML ) ;
|
|
|
+// this.insertValue(this.$refs.database_doc_templ.innerHTML ) ;
|
|
|
+ this.insertValue(this.$refs.database_doc_templ.childNodes[0].nodeValue ) ;
|
|
|
},
|
|
|
|
|
|
//json转参数表格
|