修改密碼提示

This commit is contained in:
zy 2026-05-07 15:45:57 +08:00
parent a115f118d3
commit a2274a0c00
2 changed files with 36 additions and 40 deletions

View File

@ -25,7 +25,7 @@
<a-col :span="24">
<a-form-item label="账号" v-bind="validateInfos.userName">
<a-input v-model:value="formData.userName" placeholder="请输入账号" :disabled="disabled"></a-input>
<div style=" font-size: 10px; color: red;">初始密码为hjjc2023</div>
<div style=" font-size: 10px; color: red;">初始密码为mywr2026</div>
</a-form-item>
</a-col>
<!-- <a-col :span="24">

View File

@ -2,7 +2,6 @@
<a-spin :spinning="confirmLoading">
<a-form ref="formRef" class="antd-modal-form" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-row>
<!-- <a-col :span="24">
<a-form-item label="来源应用MA小程序H5普通H5H5-WX微信H5APPappH5-PCPC端H5" v-bind="validateInfos.appType">
<a-input v-model:value="formData.appType" placeholder="请输入来源应用MA小程序H5普通H5H5-WX微信H5APPappH5-PCPC端H5" :disabled="disabled"></a-input>
@ -25,7 +24,7 @@
<a-col :span="24">
<a-form-item label="账号" v-bind="validateInfos.userName">
<a-input v-model:value="formData.userName" placeholder="请输入账号" :disabled="disabled"></a-input>
<div style=" font-size: 10px; color: red;">初始密码为hjjc2023</div>
<div style="font-size: 10px; color: red">初始密码为mywr2026</div>
</a-form-item>
</a-col>
<!-- <a-col :span="24">
@ -90,11 +89,10 @@
import { getAppList } from '../../wxapp/WxApp.api';
import { ApiSelect } from '/@/components/Form/index';
const props = defineProps({
formDisabled: { type: Boolean, default: false },
formData: { type: Object, default: () => {} },
formBpm: { type: Boolean, default: true }
formBpm: { type: Boolean, default: true },
});
const formRef = ref();
const useForm = Form.useForm;
@ -128,8 +126,8 @@
//
const validatorRules = {
// phone: [{ required: true, message: ''},],
appId: [{ required: true, message: '请选择小程序应用'},],
userName: [{ required: true, message: '请输入用户名'},],
appId: [{ required: true, message: '请选择小程序应用' }],
userName: [{ required: true, message: '请输入用户名' }],
};
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: true });
@ -145,7 +143,6 @@
return props.formDisabled;
});
/**
* 新增
*/
@ -164,7 +161,6 @@
});
}
/**
* 提交数据
*/