gitea/web_src/js/utils
wxiaoguang ac8d71ff07
Refactor branch/tag selector to Vue SFC ()
Follow 

There were many bad smells in old code. This PR only moves the code into
Vue SFC, doesn't touch the unrelated logic.

update: after
5f23218c85
, there should be no usage of the vue-rumtime-compiler anymore
(hopefully), so I think this PR could close 

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
..
dom.js Fix the show/hide methods for string selector ()
url.js Refactor branch/tag selector to Vue SFC ()
url.test.js Refactor branch/tag selector to Vue SFC ()