摘要:
由于页面内的表格是根据elementUI二次封装的组件,表格的请求地址需要在父组件页面判断修改并传给子组件,结果发现需要点击两次,子组件的请求地址才会改变。 原写法: 1 search: { 2 deep: true, 3 handler(params) { 4 this.url = 5 this. 阅读全文
摘要:
问题原因:参考element-ui文档: W3C 标准中有如下规定: When there is only one single-line text input field in a form, the user agent should accept Enter in that field as 阅读全文