Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit d76e27b

Browse files
committed
增加页面动态参数的方法
1 parent 7da7250 commit d76e27b

File tree

1 file changed

+5
-0
lines changed
  • src/main/java/org/suren/autotest/web/framework/page

1 file changed

+5
-0
lines changed

src/main/java/org/suren/autotest/web/framework/page/Page.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@ public void putData(String key, Object value)
172172
data.put(key, value);
173173
}
174174

175+
public void putAllData(Map<String, Object> allData)
176+
{
177+
data.putAll(allData);
178+
}
179+
175180
/**
176181
* 移出数据
177182
* @param key

0 commit comments

Comments
 (0)