Ver código fonte

fix(components): edit auth password

Yi 1 ano atrás
pai
commit
3d1d6c194f

+ 1 - 0
src/views/mqtt/authentication/components/table-action-modal.vue

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