通过复制table生成word和excel的javascript代码