瀏覽代碼

merge:合并integration

leo 1 年之前
父節點
當前提交
744097d506
共有 2 個文件被更改,包括 1862 次插入1964 次删除
  1. 2 4
      static/webRtcYJ/WXdraw.js
  2. 1860 1960
      static/webRtcYJ/WXtrialInterface.html

+ 2 - 4
static/webRtcYJ/WXdraw.js

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

文件差異過大導致無法顯示
+ 1860 - 1960
static/webRtcYJ/WXtrialInterface.html