| | |
| | | import numeral from 'numeral'; |
| | | import preview from "vue-photo-preview"; |
| | | import "vue-photo-preview/dist/skin.css"; |
| | | import * as VueWindow from "@hscmap/vue-window"; |
| | | // import * as VueWindow from "@hscmap/vue-window"; |
| | | |
| | | import VueAwesomeSwiper from "vue-awesome-swiper"; |
| | | import ToggleButton from 'vue-js-toggle-button'; |
| | |
| | | Vue.config.productionTip = false; |
| | | Vue.mixin(Mixin); |
| | | Vue.use(preview); |
| | | Vue.use(VueWindow); |
| | | // Vue.use(VueWindow); |
| | | Vue.use(VueAwesomeSwiper as any); |
| | | Vue.use(ToggleButton) |
| | | Vue.use(ImageShow) |
| | |
| | | let res = {}; |
| | | if (this.addObj.type == "cluster") { |
| | | res = await addCluster({ |
| | | clusterPwd: this.auth_password, |
| | | authPwd: this.auth_password, |
| | | clusterId: this.addObj.id, |
| | | }); |
| | | } else { |