mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 17:46:28 +08:00
ui: change default values
This commit is contained in:
1 parent
2794a866c2
commit
36f356340c
6 files changed
+11
-11
No files matched your search
@@ -8,7 +8,10 @@ export default class Sock {
|
|||||||
this.isreconnect = false;
|
this.isreconnect = false;
|
||||||
this.init();
|
this.init();
|
||||||
this.notification = null;
|
this.notification = null;
|
||||||
|
this.showNotification = false;
|
||||||
|
setTimeout(() => {
|
||||||
this.showNotification = showNotification;
|
this.showNotification = showNotification;
|
||||||
|
}, 10000);
|
||||||
}
|
}
|
||||||
|
|
||||||
onauth() {
|
onauth() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hydrooj/ui-default",
|
"name": "@hydrooj/ui-default",
|
||||||
"version": "4.7.1",
|
"version": "4.7.3",
|
||||||
"author": "undefined <i@undefined.moe>",
|
"author": "undefined <i@undefined.moe>",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"main": "hydro.js",
|
"main": "hydro.js",
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
{% set autofocus = args.autofocus or false %}
|
{% set autofocus = args.autofocus or false %}
|
||||||
{% set noAutocomplete = args.noAutocomplete or false %}
|
{% set noAutocomplete = args.noAutocomplete or false %}
|
||||||
{% set extra_style = args.extra_style or false %}
|
{% set extra_style = args.extra_style or false %}
|
||||||
|
{% set extra_class = args.extra_class %}
|
||||||
{% set date = args.date or false %}
|
{% set date = args.date or false %}
|
||||||
{% set time = args.time or false %}
|
{% set time = args.time or false %}
|
||||||
class="{{ form_class }}{% if extra_class %} {{ extra_class }}{% endif %}"
|
class="{{ form_class }}{% if extra_class %} {{ extra_class }}{% endif %}"
|
||||||
|
|||||||
@@ -43,5 +43,5 @@
|
|||||||
markdown:true,
|
markdown:true,
|
||||||
required:true,
|
required:true,
|
||||||
extra_style:'height: 500px',
|
extra_style:'height: 500px',
|
||||||
extra_class:'auto-resize'
|
extra_textarea_class:'auto-resize'
|
||||||
}) }}
|
}) }}
|
||||||
@@ -12,17 +12,13 @@ Two integers x and y, satisfying $0\leq x,y\leq 32767$ .
|
|||||||
## Output
|
## Output
|
||||||
One integer, the sum of x and y.
|
One integer, the sum of x and y.
|
||||||
|
|
||||||
# Sample 1
|
# Samples
|
||||||
|
|
||||||
## Input
|
```input1
|
||||||
|
|
||||||
```
|
|
||||||
123 500
|
123 500
|
||||||
```
|
```
|
||||||
|
|
||||||
## Output
|
```outpu1
|
||||||
|
|
||||||
```
|
|
||||||
623
|
623
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -3,12 +3,12 @@
|
|||||||
"_id": 1,
|
"_id": 1,
|
||||||
"title": "最初的最初 - A+B Problem",
|
"title": "最初的最初 - A+B Problem",
|
||||||
"requireNids": [],
|
"requireNids": [],
|
||||||
"pids": [1000, "56c52ade2fefd90539000005"]
|
"pids": [1, "P1001"]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"_id": 2,
|
"_id": 2,
|
||||||
"title": "最初的进阶",
|
"title": "最初的进阶",
|
||||||
"requireNids": [1],
|
"requireNids": [1],
|
||||||
"pids": [1001, 1002]
|
"pids": [2, 3]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
Reference in new issue
Block a user