Explorar o código

倾斜摄影页:禁用插件的上下文菜单

任一存 %!s(int64=2) %!d(string=hai) anos
pai
achega
efa337b570
Modificáronse 2 ficheiros con 4 adicións e 1 borrados
  1. 1 1
      public/config/oblique-config.json
  2. 3 0
      src/App.vue

+ 1 - 1
public/config/oblique-config.json

@@ -42,7 +42,7 @@
       "infoBox": false,
       "geocoder": false,
       "selectionIndicator": false,
-      "contextmenu": { "hasDefault": true },
+      "contextmenu": { "hasDefault": false },
       "mouseDownView": true,
       "zoom": false,
       "compass": false,

+ 3 - 0
src/App.vue

@@ -69,6 +69,9 @@ body {
   // 有必要给resizer设置border_radius吗?
 	::-webkit-scrollbar-resizer { background: transparent; border-radius: 6px; }
 }
+// * {
+//   -webkit-touch-callout: none;
+// }
 
 .fade-out-leave-active {
   transition: opacity 1s;