移除任务详情页复制时的前缀

This commit is contained in:
liuhongyu 2020-04-28 22:06:08 +08:00 committed by mayswind
parent c6b571ab74
commit 6f3fe70a68

View file

@ -637,7 +637,6 @@
return; return;
} }
var name = currentRowTriggeredMenu.find('.setting-key > span').text().trim();
var value = ""; var value = "";
currentRowTriggeredMenu.find('.setting-value > span').each(function (i, element) { currentRowTriggeredMenu.find('.setting-value > span').each(function (i, element) {
@ -648,8 +647,7 @@
value += angular.element(element).text().trim(); value += angular.element(element).text().trim();
}); });
var info = name + ': ' + value; clipboard.copyText(value);
clipboard.copyText(info);
}; };
if (ariaNgSettingService.getDownloadTaskRefreshInterval() > 0) { if (ariaNgSettingService.getDownloadTaskRefreshInterval() > 0) {