mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: 修复problem_create页面添加标签无效的问题
This commit is contained in:
1 parent
8a114abb55
commit
05968798fe
6 files changed
+37
-20
No files matched your search
@@ -142,7 +142,7 @@ function buildCategoryFilter() {
|
||||
});
|
||||
}
|
||||
|
||||
const page = new NamedPage('problem_edit', async () => {
|
||||
export default new NamedPage(['problem_create', 'problem_edit'], () => {
|
||||
$(document).on('click', '[name="problem-sidebar__show-category"]', (ev) => {
|
||||
$(ev.currentTarget).hide();
|
||||
$('[name="problem-sidebar__categories"]').show();
|
||||
@@ -171,5 +171,3 @@ const page = new NamedPage('problem_edit', async () => {
|
||||
buildCategoryFilter();
|
||||
parseCategorySelection();
|
||||
});
|
||||
|
||||
export default page;
|
||||
Reference in new issue
Block a user