fix43: убрать lint-хвосты и нормализовать пути chunks
This commit is contained in:
@@ -980,10 +980,8 @@ export default {
|
||||
|
||||
<script setup lang="ts">
|
||||
import {
|
||||
ConfigsUpdateDto,
|
||||
defaultHysteria2ServerConfig,
|
||||
Hysteria2ServerConfig,
|
||||
Tab,
|
||||
defaultHysteria2ServerConfig,
|
||||
Hysteria2ServerConfig,
|
||||
} from "@/api/config/types";
|
||||
import Outbounds from "./components/Outbounds/index.vue";
|
||||
import {
|
||||
@@ -994,10 +992,7 @@ import {
|
||||
} from "@/api/config";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import { assignWith, deepCopy } from "@/utils/copy";
|
||||
import {
|
||||
UploadFile,
|
||||
UploadRequestOptions,
|
||||
} from "element-plus";
|
||||
import { UploadRequestOptions } from "element-plus";
|
||||
import { dashboardSummaryApi } from "@/api/dashboard";
|
||||
import { UploadUserFile } from "element-plus";
|
||||
|
||||
@@ -1087,71 +1082,6 @@ const {
|
||||
keyFileList,
|
||||
} = toRefs(state);
|
||||
|
||||
const tabs = computed(() => {
|
||||
let tabs: Tab[] = [];
|
||||
if (!state.obfs) {
|
||||
tabs.push({
|
||||
name: "obfs",
|
||||
desc: t("hysteria.obfs"),
|
||||
});
|
||||
}
|
||||
if (!state.quic) {
|
||||
tabs.push({
|
||||
name: "quic",
|
||||
desc: t("hysteria.quic"),
|
||||
});
|
||||
}
|
||||
if (!state.bandwidth) {
|
||||
tabs.push({
|
||||
name: "bandwidth",
|
||||
desc: t("hysteria.bandwidth"),
|
||||
});
|
||||
}
|
||||
if (!state.speedTest) {
|
||||
tabs.push({
|
||||
name: "speedTest",
|
||||
desc: t("hysteria.speedTest"),
|
||||
});
|
||||
}
|
||||
if (!state.udp) {
|
||||
tabs.push({
|
||||
name: "udp",
|
||||
desc: t("hysteria.udp"),
|
||||
});
|
||||
}
|
||||
if (!state.resolver) {
|
||||
tabs.push({
|
||||
name: "resolver",
|
||||
desc: t("hysteria.resolver"),
|
||||
});
|
||||
}
|
||||
if (!state.sniff) {
|
||||
tabs.push({
|
||||
name: "sniff",
|
||||
desc: t("hysteria.sniff"),
|
||||
});
|
||||
}
|
||||
if (!state.acl) {
|
||||
tabs.push({
|
||||
name: "acl",
|
||||
desc: t("hysteria.acl"),
|
||||
});
|
||||
}
|
||||
if (!state.outbounds) {
|
||||
tabs.push({
|
||||
name: "outbounds",
|
||||
desc: t("hysteria.outbounds"),
|
||||
});
|
||||
}
|
||||
if (!state.masquerade) {
|
||||
tabs.push({
|
||||
name: "masquerade",
|
||||
desc: t("hysteria.masquerade"),
|
||||
});
|
||||
}
|
||||
return tabs;
|
||||
});
|
||||
|
||||
const handleExport = async () => {
|
||||
let response = await exportHysteria2ConfigApi();
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user