|
@@ -181,6 +181,7 @@ async function handleSubmit() {
|
|
}
|
|
}
|
|
|
|
|
|
if (props.type === 'edit') {
|
|
if (props.type === 'edit') {
|
|
|
|
+ formModel.password = MD5(formModel.password).toString();
|
|
const data = mqttAuthEdit(formModel);
|
|
const data = mqttAuthEdit(formModel);
|
|
data.then(res => {
|
|
data.then(res => {
|
|
if (res.data?.success) {
|
|
if (res.data?.success) {
|