From b58c91eeb83dc9c8ec1ff871aa4cdc8ad2631bc6 Mon Sep 17 00:00:00 2001 From: richie Date: Wed, 28 Aug 2019 22:24:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0readme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- readme.md | 4 ++-- .../api/design/ui/component/formula/UIFormulaTextField.java | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 2f76d7b..3af5b50 100644 --- a/readme.md +++ b/readme.md @@ -54,9 +54,9 @@ SessionKit#getSession(@NotNull String sessionID); ## 如何提交新的API -1、访问https://git.fanruan.com,并注册一个自己的账号; +1、访问[https://git.fanruan.com](https://git.fanruan.com),并注册一个自己的账号; -2、将https://git.fanruan.com/fanruan/finekit fork到自己账户下; +2、将[https://git.fanruan.com/fanruan/finekit](https://git.fanruan.com/fanruan/finekit)fork到自己账户下; 3、新增相关的API代码,并提交到自己的仓库; diff --git a/src/main/java/com/fanruan/api/design/ui/component/formula/UIFormulaTextField.java b/src/main/java/com/fanruan/api/design/ui/component/formula/UIFormulaTextField.java index 0faaf7f..b184e60 100644 --- a/src/main/java/com/fanruan/api/design/ui/component/formula/UIFormulaTextField.java +++ b/src/main/java/com/fanruan/api/design/ui/component/formula/UIFormulaTextField.java @@ -11,7 +11,12 @@ import com.fr.design.formula.TinyFormulaPane; public class UIFormulaTextField extends TinyFormulaPane { public UIFormulaTextField() { + super(); + } + public UIFormulaTextField(String text) { + super(); + setText(text); } /**