Browse Source

feat:兼容整合版退出问题

leo 1 year ago
parent
commit
5f1841790e
2 changed files with 1846 additions and 1895 deletions
  1. 2 4
      static/webRtcYJ/WXdraw.js
  2. 1844 1891
      static/webRtcYJ/WXtrialInterface.html

+ 2 - 4
static/webRtcYJ/WXdraw.js

@@ -369,9 +369,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');
@@ -413,7 +411,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);

File diff suppressed because it is too large
+ 1844 - 1891
static/webRtcYJ/WXtrialInterface.html