problem pretest

This commit is contained in:
undefined committed 2020-06-28 13:05:40 +08:00
1 parent dd5a212422
commit 554698189c
17 files changed
+127 -57

No files matched your search

-8
View File
@@ -7,14 +7,6 @@ import request from 'vj/utils/request';
const page = new NamedPage('manage_script', () => {
const runScriptDialog = new ActionDialog({
$body: $('.dialog__body--run-script > div'),
onDispatch(action) {
const $args = runScriptDialog.$dom.find('[name="args"]');
if (action === 'ok' && $args.val() === '') {
$args.focus();
return false;
}
return true;
},
});
runScriptDialog.clear = function () {
this.$dom.find('[name="args"]').val('');