Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8689e5

Browse files
committed
apijson-table: fix value overwrite problem
1 parent4ee6f67 commitc8689e5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎uliweb_apijson/apijson/templates/vue/inc_apijson_table.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,11 @@
424424
add:function(){
425425
for(varkinthis.add_items){
426426
vard=this.add_items[k]
427-
d.value=null
428427
d.component=d.component||"input"
428+
if(!(d.hasOwnProperty('value'))){
429+
dvalues={input:'',checkbox:false}
430+
d.value=dvalues[d.component]
431+
}
429432
}
430433
if(this.hook_add!=null){
431434
this.hook_add(this)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp