# ElementUI最新版使用el-date-picker报警告的问题

{% embed url="<https://v.douyin.com/r8N8SFh/>" %}

{% embed url="<https://www.bilibili.com/video/BV1Rt4y157Wx/>" %}

这是一个 el-date-picker 例子

我们从官网拿下来一模一样的代码

但是呢在页面上他就报一个警告

就很神奇

后来网上说

其实版本的问题就是饿了么UI

在6月3号发布的这个2.15.

这个版本是有问题的

但是现在还没有修复

所以呢

节日问题我们就需要回退一下

这个版本

怎么回退呢

注意这块不能直接把它回退成

这个是不好使的，大家看啊我改（验证）一下

好完成了我们再来看一下版本

大家看他还是二点一五点九

也就是说在这个包管里里边

我们如果降版本

直接改这个版本号是不行的

只能把它先remove掉

好我们再来试一下

把它跑起来

好我们再来看一下啊

刷新

大概没有警告了

然后呢我还在网上看到这样一个写法

大概意思是大于2.15.9或者2.15.8都可以


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sunzsh.gitbook.io/xiaoshan.bug/elementui-zui-xin-ban-shi-yong-eldatepicker-bao-jing-gao-de-wen-ti.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
