| | |
| | | <script> |
| | | import { mapMutations, mapState } from "vuex"; |
| | | import { updateDfu, readFileList, getDevFileName, stopDfu } from "./api"; |
| | | // import { updateDfu, readFileList, getDevFileName, stopDfu } from "./api"; |
| | | import propConfig from "./js/props"; |
| | | import SwitchBox from "./components/switchBox"; |
| | | import ProtectorBox from "./components/protectorBox"; |
| | |
| | | |
| | | import getBinaryDigits from "@/assets/js/getBinaryDigits"; |
| | | import FileProcess from "./fileProcess"; |
| | | import getWebUrl from "@/assets/js/getWebUrl"; |
| | | // import getWebUrl from "@/assets/js/getWebUrl"; |
| | | import Panel from "@/components/panel.vue"; |
| | | import pdgImg from "./images/pdg.png"; |
| | | import kggImg from "./images/kgg.png"; |
| | |
| | | marqueeLeft, |
| | | }, |
| | | data() { |
| | | const baseURL = getWebUrl(); |
| | | // const baseURL = getWebUrl(); |
| | | return { |
| | | breakerList: [], |
| | | curSwitch: {}, |