File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5016,7 +5016,7 @@ var ՐՏ_modules = ՐՏ_def_modules();
5016
5016
var __name__ = "components.login" ;
5017
5017
5018
5018
var templ_login , vc ;
5019
- templ_login = "\n<XModal :can_cancel = 'false' max_width = '300px'>\n <template v-slot:title>\n Login\n </template>\n <template v-slot:body>\n <form ref = 'frm'>\n <div class = 'field'>\n <p class = 'control has-icons-left'>\n <input name = 'password' class = 'input' type = 'password' placeholder = 'password' @keydown.enter = \"ok\"/>\n <span class = \"icon is-small is-left\">\n <i class = \"fas fa-lock\"></i>\n </span>\n </p>\n </div>\n </form>\n </template>\n <template v-slot:footer>\n <div class = 'container buttons is-right'>\n <button class = 'button is-primary' @click.stop.prevent = 'ok'>OK</button>\n </div>\n </template>\n</XModal>\n" ;
5019
+ templ_login = "\n<XModal :can_cancel = 'false' max_width = '300px'>\n <template v-slot:title>\n Login\n </template>\n <template v-slot:body>\n <form ref = 'frm' method = 'post' @submit.prevent.stop >\n <div class = 'field'>\n <p class = 'control has-icons-left'>\n <input name = 'password' class = 'input' type = 'password' placeholder = 'password' @keydown.enter = \"ok\"/>\n <span class = \"icon is-small is-left\">\n <i class = \"fas fa-lock\"></i>\n </span>\n </p>\n </div>\n </form>\n </template>\n <template v-slot:footer>\n <div class = 'container buttons is-right'>\n <button class = 'button is-primary' @click.stop.prevent = 'ok'>OK</button>\n </div>\n </template>\n</XModal>\n" ;
5020
5020
var V_collector = ՐՏ_modules [ "asset.rs_vue" ] . V_collector ; var RS_vue = ՐՏ_modules [ "asset.rs_vue" ] . RS_vue ;
5021
5021
var asyncer = ՐՏ_modules [ "asset.common" ] . asyncer ;
5022
5022
vc = new V_collector ( ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ v-def templ_login:
3
3
template(v-slot:title):
4
4
'Login'
5
5
template(v-slot:body):
6
- form(ref = 'frm'):
6
+ form(ref = 'frm', method = 'post', @submit.prevent.stop ):
7
7
div(class = 'field'):
8
8
p(class = 'control has-icons-left'):
9
9
input(
You can’t perform that action at this time.
0 commit comments