| | |
| | | <div class="cluster-right">
|
| | | <div class="lang" v-if="activePage == 'lang'">
|
| | | <div class="title">语言列表</div>
|
| | | <div
|
| | | class="bar"
|
| | | v-for="(item, i) in langList"
|
| | | :key="i"
|
| | | @click="pickLang(item, i)"
|
| | | >
|
| | | <div class="bar" v-for="(item, i) in langList" :key="i" @click="pickLang(item, i)">
|
| | | <span class="name">{{ item.Name }}</span>
|
| | | <!-- <span class="icon iconfont" v-show="activeLang==item.Lang"></span> -->
|
| | | <span class="icon iconfont" v-show="activeLang == item.Lang"
|
| | | >已选</span
|
| | | >
|
| | | <span class="icon iconfont" v-show="activeLang == item.Lang">已选</span>
|
| | | </div>
|
| | | </div>
|
| | | <div class="lang" v-if="activePage == 'keyboard'">
|
| | |
| | | } from "@/api/clusterManage";
|
| | |
|
| | | import { getLangs, setLang, getLang, getKeyboardLayouts } from "@/api/system";
|
| | | import cloudNode from "../components/CloudNode";
|
| | | import ipInput from "@/components/subComponents/IPInput";
|
| | | import { isIPv4 } from "@/scripts/validate";
|
| | | import switchBar from "../components/switchBar";
|
| | |
|
| | | export default {
|
| | | data() {
|
| | |
| | | },
|
| | | value: "",
|
| | | };
|
| | | },
|
| | | components: {
|
| | | cloudNode,
|
| | | ipInput,
|
| | | switchBar,
|
| | | },
|
| | | mounted() {
|
| | | this.fetchLangList();
|
| | |
| | | });
|
| | | }
|
| | | },
|
| | | wifiControl(val) {},
|
| | | wifiControl(val) { },
|
| | | checkWifi() {
|
| | | this.inWifiDetail = true;
|
| | | },
|