Problems with vue referencing element ui components

vueelementplaceholderinput
<template>
    <div class="input_list">
        <div>
            <span></span><span class="required">*</span>
        </div>
    <div class="input_r">
      <el-date-picker
      class="input_txt input_txt_s"
      align="right"
      v-model="startDate"
      type="date"
      placeholder="">
    </el-date-picker>
    </div>
  </div>
  <div class="input_list">
    <div><span></span><span class="required">*</span></div>
    <div class="input_r">
      <el-date-picker
      class="input_txt input_txt_s"
      align="right"
      v-model="endDate"
      type="date"
      placeholder="">
    </el-date-picker>
    </div>
  </div>
</template>

js:
data() {
    return{
        startDate : "",
        endDate : "",
    }
}



clipboard.png

Feb.28,2021

referring to your code, I have no problem running it here
Code

the console is just some warnings. I'll give you some advice, which should have nothing to do with your problem

.

suggest to take a look at the relevant code of the parent and child components related to this component. There is no problem for me to copy your code directly and run it. It may be affected by other components

.
Menu