瀏覽代碼

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