You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
.hbuilderx | 3 years ago | |
components | 3 years ago | |
pages | 2 years ago | |
static | 3 years ago | |
store | 3 years ago | |
utils | 2 years ago | |
uview-ui | 3 years ago | |
.DS_Store | 2 years ago | |
.gitignore | 3 years ago | |
App.vue | 2 years ago | |
index.html | 3 years ago | |
main.js | 3 years ago | |
manifest.json | 2 years ago | |
package-lock.json | 3 years ago | |
package.json | 3 years ago | |
pages.json | 3 years ago | |
readme.md | 3 years ago | |
uni.scss | 3 years ago |
readme.md
从git下拉带代码后 项目中的 \node_modules\uview-ui\components\u-form\u-form.vue 第17行要添加下面这行代码 this.errorType === 'toast' ?uni.$u.toast(errors[0].message):
添加后是这样的: if (uni.$u.test.array(errors)) { errorsRes.push(...errors); childErrors.push(...errors); } this.errorType === 'toast' ?uni.$u.toast(errors[0].message): child.message = childErrors[0]?.message ?? null;
u-transition中的view容器要增加@touchmove.prevent 避免弹窗组件的穿透性问题 @touchmove.prevent