houdongen 发表于 2024-3-17 14:59:49

取消盖章的代码无效了

环境 官网 https://sample.o2oa.net/x_desktop/null 404 (Not Found)


MWF.xDesktop.requireApp("process.Xform", "Documenteditor", null, false);
MWF.APPDocumenteditor.implement({
    cancelSeal: function(position){
      var p = position || 0;
      if (this.layout_seals && this.layout_seals.length){
            if (this.layout_seals){
                this.layout_seals.hide();
                this.layout_seals.src = "";
                this.getSealData();
            }
      }
    },
});

houdongen 发表于 2024-3-17 16:10:53

已解决,先赋空值,然后重新计算....

a780667 发表于 2024-3-18 10:16:18

大佬,问问你这段代码哪里来的,官方有提供过吗?我也在用o2oa做项目,有用到公文编辑器,有没有啥资源能共享一下:handshake

houdongen 发表于 2024-3-18 15:07:03

a780667 发表于 2024-3-18 10:16
大佬,问问你这段代码哪里来的,官方有提供过吗?我也在用o2oa做项目,有用到公文编辑器,有没有啥资源能共 ...

官网有提供的
页: [1]
查看完整版本: 取消盖章的代码无效了