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

Commit4dd625f

Browse files
committed
apijson-table: add _fields for multiple table case
1 parent10961f8 commit4dd625f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,9 @@
196196
if(data.code==200){
197197
vararr=data["[]"]
198198
for(vari=0;i<arr.length;i++){
199-
arr[i]=arr[i][thisp.table.model_name]
199+
varo=JSON.parse(JSON.stringify(arr[i][thisp.table.model_name]))
200+
o._fields=JSON.parse(JSON.stringify(arr[i]))
201+
arr[i]=o
200202
}
201203

202204
if(!thisp.tcolumns_init){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp