lsc 2 years ago
parent
commit
02c0efc1a0
1 changed files with 2 additions and 2 deletions
  1. 2 2
      js/Desktop/DeskTop.js

+ 2 - 2
js/Desktop/DeskTop.js

@@ -2381,7 +2381,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         case "lineSearch": //路径搜索
             _formdiv = new U.UF.UI.form(
                 "路径搜索",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
                 "id": "lineSearch",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }
@@ -2393,7 +2393,7 @@ U.MD.D.I.openApplication = function (str, obj, info) {
         case "deepLearning": //深度学习
             _formdiv = new U.UF.UI.form(
                 "深度学习",
-                $$("iframe", { "allow": "camera *; microphone *;display-capture", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
+                $$("iframe", { "allow": "camera *; microphone *;display-capture;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
                 "id": "deepLearning",
                 "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
                 "onresize": function () { }