Commit 539d6e13 authored by wangqinghua's avatar wangqinghua

update

parent face4507
...@@ -100,8 +100,6 @@ ...@@ -100,8 +100,6 @@
move: "move", move: "move",
open_hand: " 8 8, default", open_hand: " 8 8, default",
closed_hand: " 8 8, default" closed_hand: " 8 8, default"
// open_hand: "url("+topoImgPath+"openhand.cur) 8 8, default",
// closed_hand: "url("+topoImgPath+"closedhand.cur) 8 8, default"
}, },
replaceStageWithJson: function (jsonObj) { replaceStageWithJson: function (jsonObj) {
var stage = editor.stage; var stage = editor.stage;
...@@ -170,7 +168,7 @@ ...@@ -170,7 +168,7 @@
for (var e in a) { for (var e in a) {
// 加载节点的图片 // 加载节点的图片
if (e == "nodeImage") { if (e == "nodeImage") {
c.setImage(topoImgPath + a[e]); c.setImage( a[e]);
} }
if (c) { if (c) {
if (a[e] == "undefined") { if (a[e] == "undefined") {
...@@ -348,7 +346,7 @@ ...@@ -348,7 +346,7 @@
for (var e in a) { for (var e in a) {
// 加载节点的图片 // 加载节点的图片
if (e == "nodeImage") { if (e == "nodeImage") {
c.setImage(topoImgPath + a[e]); c.setImage(a[e]);
} }
if (c) { if (c) {
if (a[e] == "undefined") { if (a[e] == "undefined") {
...@@ -1796,7 +1794,7 @@ ...@@ -1796,7 +1794,7 @@
var d = this; var d = this;
if ("string" == typeof b) { if ("string" == typeof b) {
if (b.indexOf("data:image") > 0) { if (b.indexOf("data:image") > 0) {
b = b.replace(topoImgPath, ""); b = b.replace("", "");
} }
var e = j[b]; var e = j[b];
null == e ? (e = new Image, e.src = b, e.onload = function () { null == e ? (e = new Image, e.src = b, e.onload = function () {
......
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