elunez / eladmin-doc

EL-ADMIN 文档源码
https://eladmin.vip
Apache License 2.0
174 stars 346 forks source link

项目启动后,前台控制台报错: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "placement" #86

Closed taoweidong closed 2 years ago

taoweidong commented 2 years ago

项目启动后,前台控制台报错

[Vue warn]: Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: "placement"

found in

---> <DateRangePicker> at src/components/DateRangePicker/index.vue
       <ElCol>
         <ElRow>
           <User> at src/views/system/user/index.vue
             <AppMain> at src/layout/components/AppMain.vue
               <Layout> at src/layout/index.vue
                 <App> at src/App.vue
                   <Root>

图片

hetintin commented 2 years ago

这似乎是日期选择器报错了(虽然我不知道需要怎么解决)