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