소스 검색

fix(components): edit auth password

Yi 1 년 전
부모
커밋
3d1d6c194f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/views/mqtt/authentication/components/table-action-modal.vue

+ 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) {