这是林泊百科的迁移技术测试站点,所有改动不会同步到林泊百科上,此站点将会在正式迁移后关闭,请勿存放重要数据
微件:Excelinput4:修订间差异
跳转到导航
跳转到搜索
创建页面,内容为“<includeonly><div id="BatchCreateByTemplate"> <textarea id="input" style="width:100%;height:300px"></textarea> <div id="BCBTdisplay" class="row"></div> <button style="padding:0.5em 1em" onclick="submit()">转换</button> <textarea id="output" style="width:100%;height:300px"></textarea> <script> let output = {}; function submit(){ output = {}; let rows = $("#input").val().split("\n"); $.each(rows, function(i, row){ let cols = row.split("\t"); cols = cols.…” |
无编辑摘要 |
||
| (未显示同一用户的2个中间版本) | |||
| 第41行: | 第41行: | ||
</script> | </script> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
测试功能,支持4级excel的导入为树 | |||
<pre> | |||
{ | |||
a:{ | |||
b:[c,d] | |||
} | |||
} | |||
</pre> | |||
{{#widget:Excelinput4}} | |||
</noinclude> | </noinclude> | ||
2022年7月9日 (六) 18:34的最新版本
测试功能,支持4级excel的导入为树
{
a:{
b:[c,d]
}
}