<template>
          <el-form label-width="100px" >
            (默认模板代码如下，可根据需要自行修改)<br>
            <el-input type="textarea" :autosize="{ minRows: 16, maxRows: 4}" placeholder="请输入内容" v-model="code">
            </el-input>
        </el-form>
</template>
<script>
/* eslint-disable no-template-curly-in-string */
export default {
  data() {
    return {
      code: '<form name="form1" method="get" action="${FrontAppContext}search/result" target="_blank"><input type="hidden" name="SiteID" value="${Site.ID}"/><input type="text" name="Query" suggest="true" suggestsource="Search.suggest" style="width:160px" value=""/><input type="submit" value="@{Common.Search}" style="width:60px"/></form>'
    }
  },
  methods: {
    getCode() {
      return this.code
    },
    init() {

    }
  },
  async created() {
  }
}
</script>
