X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/3f09fb9a2389c5c212a70feada3206a3cb523c95..HEAD:/Plugson/www/plugson_menu_tip.html diff --git a/Plugson/www/plugson_menu_tip.html b/Plugson/www/plugson_menu_tip.html index 214a43e..75ef808 100644 --- a/Plugson/www/plugson_menu_tip.html +++ b/Plugson/www/plugson_menu_tip.html @@ -244,9 +244,13 @@ tip: data.tip, type: type }, function(e) { - list.push(data); - FillTipTable(list); - Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS); + if (e.result === 'success') { + list.push(data); + FillTipTable(list); + Message.success(g_vtoy_cur_language.STR_SAVE_SUCCESS); + } else if (e.result === 'duplicate') { + Message.error(g_vtoy_cur_language.STR_DUPLICATE_PATH); + } }); }