我正在查看文档
http://www.gebish.org/manual/0.9.2/api/geb/Page.html
并发现at
更近的定义为“static def at”
,但在Page.groovy
中也是如此
static at = null
而不是static def at =null
有什么区别。
最佳答案
一点也没有。两者都可以理解为
static Object at;
关于groovy - "static def at"和 "static at"有什么区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34353914/