feat:转账插件

This commit is contained in:
2026-07-23 14:31:06 +08:00
parent 4916546322
commit d5a6a16ea5
560 changed files with 71777 additions and 44216 deletions
@@ -16,7 +16,7 @@
/**
* Form 表单
* @description 此组件一般用于表单场景,可以配置Input输入框,Select弹出框,进行表单验证等。
* @tutorial https://ijry.github.io/uview-plus/components/form.html
* @tutorial https://uview-plus.jiangruyi.com/components/form.html
* @property {Object} model 当前form的需要验证字段的集合
* @property {Object | Function | Array} rules 验证规则
* @property {String} errorType 错误的提示方式,见上方说明 ( 默认 message )
@@ -25,10 +25,10 @@
* @property {String | Number} labelWidth 提示文字的宽度,单位px ( 默认 45 )
* @property {String} labelAlign lable字体的对齐方式 ( 默认 ‘left' )
* @property {Object} labelStyle lable的样式,对象形式
* @example <up-formlabelPosition="left" :model="model1" :rules="rules" ref="form1"></up-form>
* @example <up-form labelPosition="left" :model="model1" :rules="rules" ref="form1"></up-form>
*/
export default {
name: "u-form",
name: "up-form",
mixins: [mpMixin, mixin, props],
provide() {
return {
@@ -121,7 +121,7 @@
this.children.map((child) => {
// 如果u-form-item的prop在props数组中,则清除对应的校验结果信息
if (props[0] === undefined || props.includes(child.prop)) {
child.message = null;
child.message = '';
}
});
},
@@ -190,11 +190,11 @@
});
errorsRes.push(...errors);
childErrors.push(...errors);
}
//没有配置,或者配置了showErrorMsg为true时候,才修改子组件message,默认没有配置
if(!options||options?.showErrorMsg==true){
child.message =
childErrors[0]?.message ? childErrors[0].message : null;
}
//没有配置,或者配置了showErrorMsg为true时候,才修改子组件message,默认没有配置
if(!options||options?.showErrorMsg==true){
child.message =
childErrors[0]?.message ? childErrors[0].message : '';
}
if (i == (rules.length - 1)) {
resolve(errorsRes)
@@ -219,10 +219,10 @@
});
});
},
/**
* 校验全部数据
* @param {Object} options
* @param {Boolean} options.showErrorMsg -是否显示校验信息,
/**
* 校验全部数据
* @param {Object} options
* @param {Boolean} options.showErrorMsg -是否显示校验信息,
*/
validate(options) {
// 开发环境才提示,生产环境不会提示