feat: add refresh symbol to folder change button

This commit is contained in:
Aisland
2026-08-20 23:17:57 +08:00
parent 56c2778508
commit fbca9f4e66
3 changed files with 11 additions and 2 deletions
+3 -1
View File
@@ -60,7 +60,9 @@ const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
out.box0Label = boxes[0] ? boxes[0].querySelector('.dsh-wt_bindFolderLabel').textContent : null;
out.box1Label = boxes[1] ? boxes[1].querySelector('.dsh-wt_bindFolderLabel').textContent : null;
out.box0Path = boxes[0] ? boxes[0].querySelector('.dsh-wt_bindFolderPath').textContent : null;
out.box0Change = !!(boxes[0] && boxes[0].querySelector('.dsh-wt_bindFolderChange'));
var chg = boxes[0] && boxes[0].querySelector('.dsh-wt_bindFolderChange');
out.box0Change = !!chg;
out.box0ChangeHasRefresh = chg ? chg.textContent.indexOf('\u21bb') >= 0 : false;
// 弹窗左上角不再有「绑定对话」标题;两个框标题字号一致
out.popTitleGone = !pop.querySelector('.dsh-wt_menuLabel');
var lb0 = boxes[0] && boxes[0].querySelector('.dsh-wt_bindFolderLabel');