|
|
@ -981,7 +981,6 @@ return ElasticsearchDsService.query(host, port, username, password, path, dsl);
|
|
|
|
example(type) {
|
|
|
|
example(type) {
|
|
|
|
this.exampleVisible = true
|
|
|
|
this.exampleVisible = true
|
|
|
|
this.currentExample = this.exampleList[type]
|
|
|
|
this.currentExample = this.exampleList[type]
|
|
|
|
console.log(this.currentExample)
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
useExample() {
|
|
|
|
useExample() {
|
|
|
|
this.dataForm.script = this.currentExample
|
|
|
|
this.dataForm.script = this.currentExample
|
|
|
|