|
@@ -413,9 +413,7 @@ function doConnectDirectives() {
|
|
}
|
|
}
|
|
};
|
|
};
|
|
}
|
|
}
|
|
-$('body').on('click', function () {
|
|
|
|
- draw_graph('pencil', this);
|
|
|
|
-});
|
|
|
|
|
|
+draw_graph('pencil', $('body'));
|
|
//剪切板
|
|
//剪切板
|
|
$('.upload').on('click', function () {
|
|
$('.upload').on('click', function () {
|
|
var texts = $(this).attr('data-text');
|
|
var texts = $(this).attr('data-text');
|
|
@@ -464,7 +462,7 @@ $('.PictureQuality').on('click', function () {
|
|
});
|
|
});
|
|
var canDraw = false;
|
|
var canDraw = false;
|
|
//画图形
|
|
//画图形
|
|
-var draw_graph = function (graphType) {
|
|
|
|
|
|
+function draw_graph(graphType) {
|
|
//把蒙版放于画板上面
|
|
//把蒙版放于画板上面
|
|
$('#container').css('z-index', 30);
|
|
$('#container').css('z-index', 30);
|
|
$('#dedit').css('z-index', 20);
|
|
$('#dedit').css('z-index', 20);
|