<template>
  <el-form label-width="160px" style="margin-top:180px;">
    <el-form-item label="分隔符：" >
        <el-input v-model="spliter" class="form-item"></el-input>
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  data() {
    return {
      spliter: '>'
    }
  },
  methods: {
    getCode() {
      if (this.spliter === '>' || this.spliter === '') {
        return '<cms:position />'
      } else {
        return `<cms:position spliter="${this.spliter}">{ZCMS:<z:lang id="Contentcore.CurrentPosition">当前位置</z:lang>}</cms:position>`
      }
    },
    init() {

    }
  }
}
</script>
