|
@@ -25,6 +25,20 @@ export function getRegParamList(methodName: string) {
|
|
return regParamList[methodName]
|
|
return regParamList[methodName]
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+export function raiseClick(buttonHandle) {
|
|
|
|
+ if (!buttonHandle) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ if (buttonHandle.disabled) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ if (buttonHandle.hidden) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+ buttonHandle.click()
|
|
|
|
+ return true
|
|
|
|
+}
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 标注系统全局函数的参数
|
|
* 标注系统全局函数的参数
|
|
* @param title 函数名称
|
|
* @param title 函数名称
|