新增订单管理,api

This commit is contained in:
唐明明
2022-01-04 11:28:04 +08:00
parent 6319631d7e
commit 219bc6027a
384 changed files with 53537 additions and 569 deletions

21
node_modules/uview-ui/components/u-upload/mixin.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
export default {
watch: {
// 监听accept的变化判断是否符合个平台要求
// 只有微信小程序才支持选择媒体,文件类型,所以这里做一个判断提示
accept: {
immediate: true,
handler(val) {
// #ifndef MP-WEIXIN
if (val === 'all' || val === 'media') {
uni.$u.error('只有微信小程序才支持把accept配置为all、media之一')
}
// #endif
// #ifndef H5 || MP-WEIXIN
if (val === 'file') {
uni.$u.error('只有微信小程序和H5(HX2.9.9)才支持把accept配置为file')
}
// #endif
}
}
}
}