diff --git a/docs/plugin/uts-plugin.md b/docs/plugin/uts-plugin.md index 8f44168f629d6dd379131dc99f39dbf21570a263..457da556743c34346a1d06827131193b65033832 100644 --- a/docs/plugin/uts-plugin.md +++ b/docs/plugin/uts-plugin.md @@ -573,6 +573,15 @@ let frameContent = decorView.findViewById(android.R.id.content) let layoutParam = new FrameLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT,ViewGroup.LayoutParams.WRAP_CONTENT); ``` +### 函数参数默认值 + +函数参数支持设置默认值,比如下面testName + +```ts +function connectWifi(option: WifiConnectOption,testName :string = "zhangsan") +``` + + ## 路线图 uts是一个宏大工程,产品将分阶段发布。近期将陆续发布: