```html
<div class="SQL-box">
<el-input class='left-text' type="textarea" v-model="SQLValue" placeholder="请输入" @blur="blurEvent"></el-input>
<button @dblclick="addParam('123')"></button>
</div>
blurEvent(e) {
this.blurIndex = e.srcElement.selectionStart;
},
addParam(e) {
let index=this.blurIndex
let str=this.SQLValue
this.SQLValue=str.slice(0, index) + e + str.slice(index);
this.$emit('update', this.SQLValue)
},