فهرست منبع

:bug:修正编辑过程中注释的bug

bhikkhu-kosalla-china 4 سال پیش
والد
کامیت
d5608aa487
2فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 1 0
      app/studio/js/editor.js
  2. 1 1
      app/studio/js/xml.js

+ 1 - 0
app/studio/js/editor.js

@@ -2883,6 +2883,7 @@ function modifyCancel() {
 	document.getElementById("debug").style.display = "-webkit-flex";
 	document.getElementById("debug").style.display = "-moz-flex";
 	document.getElementById("debug").style.display = "-webkit-flex";
+	refreshNoteNumber();
 }
 
 //获取某词的段落索引

+ 1 - 1
app/studio/js/xml.js

@@ -599,7 +599,7 @@ function modifyApply(sWordId, update_user_dict) {
 	}
 	refreshBookMark();
 	user_wbw_commit();
-
+	refreshNoteNumber();
 	//上传到用户字典
 	if (update_user_dict) {
 		upload_to_my_dict();