<template>
  <el-form-item :label="i18nt('designer.setting.labelIconPosition')">
    <el-select v-model="optionModel.labelIconPosition">
      <el-option
        v-for="item in labelIconPosition"
        :key="item.value"
        :label="item.label"
        :value="item.value"
      >
      </el-option>
    </el-select>
  </el-form-item>
</template>

<script>
import i18n from "../../../../../components/xform/utils/i18n";

export default {
  name: "labelIconPosition-editor",
  mixins: [i18n],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      labelIconPosition: [
        { label: "前面", value: "front" },
        { label: "后面", value: "rear" },
      ],
    };
  },
};
</script>

<style scoped></style>
