You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
869 B
24 lines
869 B
4 years ago
|
package com.tptj.demo.hg.js.file;
|
||
|
|
||
|
import com.fr.intelli.record.Focus;
|
||
|
import com.fr.record.analyzer.EnableMetrics;
|
||
|
import com.fr.stable.fun.impl.AbstractJavaScriptFileHandler;
|
||
|
|
||
|
/**
|
||
|
* @author 秃破天际
|
||
|
* @version 10.0
|
||
|
* Created by 秃破天际 on 2021-03-08
|
||
|
**/
|
||
|
@EnableMetrics
|
||
|
public class CoreDemo extends AbstractJavaScriptFileHandler {
|
||
|
@Override
|
||
|
@Focus(id = "com.tptj.demo.hg.js.file.v10",text = "内置JS扩展")
|
||
|
public String[] pathsForFiles() {
|
||
|
//实测,不论是在core还是report还是form JS都会全部生效,所以标签可以统一使用core即可,移动端不支持,H5不支持
|
||
|
// 仅对报表访问生效(含决策平台中的报表),决策平台本身不支持这个接口(有其他接口)。
|
||
|
return new String[]{
|
||
|
"com/tptj/demo/hg/js/file/resources/core.js"
|
||
|
};
|
||
|
}
|
||
|
}
|