1
This commit is contained in:
@@ -1122,9 +1122,10 @@ public class TencentDocController extends BaseController {
|
|||||||
JSONObject cellValue = new JSONObject();
|
JSONObject cellValue = new JSONObject();
|
||||||
|
|
||||||
if (isLink) {
|
if (isLink) {
|
||||||
// 写入超链接类型
|
// 写入超链接类型(url 和 text 都设置为相同的值)
|
||||||
JSONObject link = new JSONObject();
|
JSONObject link = new JSONObject();
|
||||||
link.put("url", value);
|
link.put("url", value);
|
||||||
|
link.put("text", value);
|
||||||
cellValue.put("link", link);
|
cellValue.put("link", link);
|
||||||
} else {
|
} else {
|
||||||
// 写入普通文本
|
// 写入普通文本
|
||||||
|
|||||||
Reference in New Issue
Block a user