|
|
|
@ -180,7 +180,14 @@
|
|
|
|
|
>
|
|
|
|
|
<div>
|
|
|
|
|
<el-button-group>
|
|
|
|
|
<el-button plain type="primary" class="bs-el-button-default" @click="example('es')">ES案例</el-button>
|
|
|
|
|
<el-button
|
|
|
|
|
plain
|
|
|
|
|
type="primary"
|
|
|
|
|
class="bs-el-button-default"
|
|
|
|
|
@click="example('es')"
|
|
|
|
|
>
|
|
|
|
|
ES案例
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-button-group>
|
|
|
|
|
<div class="code-out">
|
|
|
|
|
<codemirror
|
|
|
|
@ -985,7 +992,7 @@ return ElasticsearchDsService.query(host, port, username, password, path, dsl);
|
|
|
|
|
useExample () {
|
|
|
|
|
this.dataForm.script = this.currentExample
|
|
|
|
|
this.exampleVisible = false
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
@ -1151,4 +1158,11 @@ return ElasticsearchDsService.query(host, port, username, password, path, dsl);
|
|
|
|
|
height: 100% !important;
|
|
|
|
|
margin-bottom: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bs-el-select{
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
::v-deep .el-input__inner{
|
|
|
|
|
width: 100% !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|