【仅供内部供应商使用,不提供对外解答和培训】
【仅供内部供应商使用,不提供对外解答和培训】
方法有两种:
第一种调用:
http://localhost:8075/WebReport/ReportServer?op=emb&cmd=refresh
调用之后可以刷新一次js缓存,会报错,不用管它。对于不频繁修改的可以使用这种方法。
第二种:
在designer模块下的start中新建一个类:DebugAssistantImpl
内容写:
package com.fr.start; import com.fr.stable.DebugAssistant; public class DebugAssistantImpl implements DebugAssistant { @Override public boolean requireDebug() { return true;//表示当前环境为debug模式反之不是 } }
然后在修改Designer类的main方法
添加一句
StableFactory.registerMarkedObject(DebugAssistant.class.getName(), new DebugAssistantImpl());
/** * 设计器启动的Main方法 * * @param args 参数 */ public static void main(String[] args) { StableFactory.registerMarkedObject(DebugAssistant.class.getName(), new DebugAssistantImpl()); new Designer(args); }
然后正常启动就可以。
以上两种方法修改js,css之后都要bulid一下
build菜单下的build poject。
idea 可以设置自动编译,spring boot自动更新的教程有看到过,你们可以试试哦
https://blog.csdn.net/wangyy130/article/details/70901589