Sfoglia il codice sorgente

磁盘列表适配好新的磁盘更新接口

James Iter 8 anni fa
parent
commit
50609dd126
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      templates/disks_show.html

+ 1 - 1
templates/disks_show.html

@@ -199,7 +199,7 @@
         var remark = $('#edit_remark').val();
         $('#edit_remark_modal').modal('hide');
         $.ajax({
-            url : '/api/disk/' + uuid,
+            url : '/api/disks/' + uuid,
             type : 'PATCH',
             contentType: "application/json; charset=utf-8",
             data : JSON.stringify({