Commit d5c89a6b authored by 邓超's avatar 邓超

fix: 生成修改后的gojs补丁文件

parent 3d5276b8
Pipeline #35438 passed with stages
in 16 minutes 0 seconds
......@@ -13,7 +13,7 @@
"author": "Max Stoiber",
"license": "MIT",
"scripts": {
"init": "npm install --registry=https://g.civnet.cn:4873",
"init": "npm install --registry=https://g.civnet.cn:4873",
"analyze:clean": "rimraf stats.json",
"preanalyze": "npm run analyze:clean",
"analyze": "node ./internals/scripts/analyze.js",
......@@ -49,7 +49,8 @@
"test": "cross-env NODE_ENV=test jest --coverage",
"test:watch": "cross-env NODE_ENV=test jest --watchAll",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"prettify": "prettier --write"
"prettify": "prettier --write",
"postinstall": "patch-package"
},
"browserslist": [
"last 2 versions",
......@@ -199,6 +200,7 @@
"node-plop": "0.18.0",
"null-loader": "0.1.1",
"offline-plugin": "5.0.6",
"patch-package": "^6.4.7",
"path-to-regexp": "2.4.0",
"plop": "2.3.0",
"postcss": "7.0.32",
......
diff --git a/node_modules/gojs/release/go.js b/node_modules/gojs/release/go.js
index 2c43470..f518a15 100644
--- a/node_modules/gojs/release/go.js
+++ b/node_modules/gojs/release/go.js
@@ -803,7 +803,7 @@ R.prototype.findObjectsNear=R.prototype.Eg;R.prototype.findPartsNear=R.prototype
R.prototype.diagramScroll=R.prototype.iy;R.prototype.focus=R.prototype.focus;R.prototype.reset=R.prototype.reset;R.useDOM=function(a){Wg=a?void 0!==x.document:!1};R.isUsingDOM=function(){return Wg};
var He=null,vi=new H,Pi=null,Oi=null,Wg=void 0!==x.document,Ei=null,Fi="",Lh=new D(R,"None",0),cj=new D(R,"Uniform",1),dj=new D(R,"UniformToFill",2),Of=new D(R,"CycleAll",10),Sf=new D(R,"CycleNotDirected",11),Uf=new D(R,"CycleNotDirectedFast",12),Vf=new D(R,"CycleNotUndirected",13),Pf=new D(R,"CycleDestinationTree",14),Rf=new D(R,"CycleSourceTree",15),Zh=new D(R,"DocumentScroll",1),ai=new D(R,"InfiniteScroll",2),ui=new D(R,"TreeParentCollapsed",21),Ik=new D(R,"AllParentsCollapsed",22),Jk=new D(R,
"AnyParentsCollapsed",23),Kk=new E,Lk="2.1.49",Fk="image",Mk=null,ri=!1;
-function si(){if(Wg){var a=x.document.createElement("canvas"),b=a.getContext("2d"),c=Sa("7ca11abfd022028846");b[c]=Sa("398c3597c01238");for(var d=["5da73c80a36455d5038e4972187c3cae51fd22",ra.Dx+"4ae6247590da4bb21c324ba3a84e385776",rd.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",L.za],e=1;5>e;e++)b[Sa("7ca11abfd7330390")](Sa(d[e-1]),10,15*e);b[c]=Sa("39f046ebb36e4b");for(c=1;5>c;c++)b[Sa("7ca11abfd7330390")](Sa(d[c-1]),10,15*c);if(4!==d.length||"5"!==d[0][0]||"7"!==d[3][0])rd.prototype.Kd=rd.prototype.Yx;
+function si(){if(Wg){var a=x.document.createElement("canvas"),b=a.getContext("2d"),c=Sa("7ca11abfd022028846");b[c]=Sa("398c3597c01238");for(var d=["5da73c80a36455d5038e4972187c3cae51fd22",ra.Dx+"4ae6247590da4bb21c324ba3a84e385776",rd.xF+"fb236cdfda5de14c134ba1a95a2d4c7cc6f93c1387",L.za],e=1;5>e;e++)/*b[Sa("7ca11abfd7330390")](Sa(d[e-1]),10,15*e);*/Sa(d[e-1]);b[c]=Sa("39f046ebb36e4b");for(c=1;5>c;c++)/*b[Sa("7ca11abfd7330390")](Sa(d[c-1]),10,15*c);*/Sa(d[c-1]);if(4!==d.length||"5"!==d[0][0]||"7"!==d[3][0])rd.prototype.Kd=rd.prototype.Yx;
Mk=a}}R.className="Diagram";R.fromDiv=function(a){var b=a;"string"===typeof a&&(b=x.document.getElementById(a));return b instanceof HTMLDivElement&&b.B instanceof R?b.B:null};R.inherit=function(a,b){function c(){}if(Object.getPrototypeOf(a).prototype)throw Error("Used go.Diagram.inherit defining already defined class \n"+a);c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};R.None=Lh;R.Uniform=cj;R.UniformToFill=dj;R.CycleAll=Of;R.CycleNotDirected=Sf;R.CycleNotDirectedFast=Uf;
R.CycleNotUndirected=Vf;R.CycleDestinationTree=Pf;R.CycleSourceTree=Rf;R.DocumentScroll=Zh;R.InfiniteScroll=ai;R.TreeParentCollapsed=ui;R.AllParentsCollapsed=Ik;R.AnyParentsCollapsed=Jk;function Ci(){this.jz=null;this.l="zz@orderNum";"63ad05bbe23a1786468a4c741b6d2"===this._tk?this.We=this.l=!0:this.We=null}
function zj(a,b){b.Gb.setTransform(b.Tb,0,0,b.Tb,0,0);if(null===a.We){b="f";var c=x[Sa("76a715b2f73f148a")][Sa("72ba13b5")];a.We=!0;if(Wg){var d=R[Sa("76a115b6ed251eaf4692")];if(d)for(var e=Kk.iterator;e.next();){d=e.value;d=Sa(d).split(Sa("39e9"));if(6>d.length)break;var f=Sa(d[1]).split(".");if("7da71ca0"!==d[4])break;var g=Sa(ra[Sa("6cae19")]).split(".");if(f[0]>g[0]||f[0]===g[0]&&f[1]>=g[1]){f=c[Sa("76ad18b4f73e")];for(g=c[Sa("73a612b6fb191d")](Sa("35e7"))+2;g<f;g++)b+=c[g];f=b[Sa("73a612b6fb191d")](Sa(d[2]));
......@@ -68,7 +68,7 @@ const MiniMenu = props => {
_dc: Date.now(),
_version: 9999,
}).then(res => {
if (res.success) {
if (res.code === 0) {
setAddList(res.list);
}
});
......@@ -148,7 +148,7 @@ const MiniMenu = props => {
obj.menuType !== 'MiniAppMenu' ? (
<FolderFilled />
) : (
<FileOutlined />
<FileOutlined />
),
menuType: obj.menuType,
children: hasChild ? obj.children.map(i => mapTree(i)) : [],
......@@ -202,7 +202,7 @@ const MiniMenu = props => {
})
.then(res => {
setLoading(false);
if (res.code===0) {
if (res.code === 0) {
setInfo({ ...res });
} else {
notification.error({
......@@ -234,7 +234,7 @@ const MiniMenu = props => {
})
.then(res => {
setModalLoading(false);
if (res.success) {
if (res.code === 0) {
setDelVisible(false);
setFlag(flag + 1);
setNodeType('');
......@@ -343,7 +343,7 @@ const MiniMenu = props => {
.then(res => {
setLoading(false);
if (res.success) {
if (res.code === 0) {
setFlag(flag + 1);
notification.success({
message: '提示',
......
......@@ -78,15 +78,15 @@ export const getMenuInfo = params =>
// 编辑菜单
export const editMenu = params =>
get(`${CITY_SERVICE}/OMS.svc/MiniApp_EditMenu`, params);
post(`${PUBLISH_SERVICE}/WebSite/MiniApp_EditMenu`, params);
// 删除菜单
export const deleteMenu = params =>
get(`${CITY_SERVICE}/OMS.svc/MiniApp_DeleteMenu`, params);
post(`${PUBLISH_SERVICE}/WebSite/MiniApp_DeleteMenu`, params);
// 获取角色列表
export const getRoleListPlain = params =>
get(`${CITY_SERVICE}/OMS.svc/P_GetRoleListPlain`, params);
get(`${PUBLISH_SERVICE}/UserCenter/GetRoleListPlain`, params);
// 删除小程序
export const deleteWebsite = params =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment