任一存 4 лет назад
Родитель
Сommit
6790e46063
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/mixins/index.js

+ 3 - 2
src/mixins/index.js

@@ -8,8 +8,7 @@ import clickoutside from "./v-clickoutside";
 import clickwindow from "./v-clickwindow";
 import * as api from "../api";
 
-import { Message } from 'element-ui';
-
+import { Message, Tooltip } from 'element-ui'
 
 const MARERIAL = ["image", "pano", "scene", "audio", "video"];
 
@@ -52,6 +51,7 @@ Vue.prototype.$msg = (data)=>{
 }
 
 
+
 Vue.prototype.$videoImg =
   "?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast,ar_auto";
 
@@ -89,6 +89,7 @@ let SettingPanel = require("@/framework/SettingPC").default;
 Vue.mixin({
   components: {
     SettingPanel,
+    Tooltip,
   },
   directives: {
     clickoutside: clickoutside,