<template>
  <div v-show="false">
    <el-form-item :label="i18nt('启用动态值显示')">
      <el-switch v-model="optionModel.autoValueEnabled"></el-switch>
    </el-form-item>
    <el-form-item :label="i18nt('动态值处理')">
      <a
        href="javascript:void(0);"
        class="a-link link-oneLind"
        @click="editEventHandler('autoValueHanlde', tableConfigParams)"
      >
        <span>{{ optionModel.autoValueHanlde }}</span>
        <i class="el-icon-edit"></i>
      </a>
    </el-form-item>
  </div>
</template>

<script>
import i18n from "../../../utils/i18n";
import eventMixin from "./event-handler/eventMixin";
export default {
  name: "autoValueEnabled-editor",
  mixins: [i18n, eventMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      tableConfigParams: ["dataId", "formCode"],
    };
  },
};
</script>

<style scoped></style>
