mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
feat(NetTestView): 添加对api.github.com和raw.githubusercontent.com的支持
This commit is contained in:
@@ -446,6 +446,7 @@ onBeforeMount(async () => {
|
|||||||
</VWindow>
|
</VWindow>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
<!-- 插件搜索图标 -->
|
<!-- 插件搜索图标 -->
|
||||||
<VFab
|
<VFab
|
||||||
icon="mdi-magnify"
|
icon="mdi-magnify"
|
||||||
@@ -470,7 +471,7 @@ onBeforeMount(async () => {
|
|||||||
@click="MarketSettingDialog = true"
|
@click="MarketSettingDialog = true"
|
||||||
:class="{ 'mb-12': appMode }"
|
:class="{ 'mb-12': appMode }"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
<!-- 插件市场设置窗口 -->
|
<!-- 插件市场设置窗口 -->
|
||||||
<PluginMarketSettingDialog
|
<PluginMarketSettingDialog
|
||||||
v-if="MarketSettingDialog"
|
v-if="MarketSettingDialog"
|
||||||
|
|||||||
@@ -481,7 +481,7 @@ onMounted(fetchData)
|
|||||||
</VCard>
|
</VCard>
|
||||||
|
|
||||||
<!-- 底部操作按钮 -->
|
<!-- 底部操作按钮 -->
|
||||||
<span>
|
<div>
|
||||||
<VFab
|
<VFab
|
||||||
v-if="selected.length > 0"
|
v-if="selected.length > 0"
|
||||||
icon="mdi-trash-can-outline"
|
icon="mdi-trash-can-outline"
|
||||||
@@ -505,7 +505,7 @@ onMounted(fetchData)
|
|||||||
appear
|
appear
|
||||||
@click="retransferBatch"
|
@click="retransferBatch"
|
||||||
/>
|
/>
|
||||||
</span>
|
</div>
|
||||||
<!-- 底部弹窗 -->
|
<!-- 底部弹窗 -->
|
||||||
<VBottomSheet v-model="deleteConfirmDialog" inset>
|
<VBottomSheet v-model="deleteConfirmDialog" inset>
|
||||||
<VCard class="text-center rounded-t">
|
<VCard class="text-center rounded-t">
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ onActivated(async () => {
|
|||||||
/>
|
/>
|
||||||
</VPullToRefresh>
|
</VPullToRefresh>
|
||||||
<!-- 底部操作按钮 -->
|
<!-- 底部操作按钮 -->
|
||||||
|
<div>
|
||||||
<VFab
|
<VFab
|
||||||
v-if="store.state.auth.superUser"
|
v-if="store.state.auth.superUser"
|
||||||
icon="mdi-clipboard-edit"
|
icon="mdi-clipboard-edit"
|
||||||
@@ -123,6 +124,7 @@ onActivated(async () => {
|
|||||||
appear
|
appear
|
||||||
@click="historyDialog = true"
|
@click="historyDialog = true"
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
<!-- 订阅编辑弹窗 -->
|
<!-- 订阅编辑弹窗 -->
|
||||||
<SubscribeEditDialog
|
<SubscribeEditDialog
|
||||||
v-if="subscribeEditDialog"
|
v-if="subscribeEditDialog"
|
||||||
|
|||||||
@@ -129,6 +129,26 @@ const targets = ref<Address[]>([
|
|||||||
message: '未测试',
|
message: '未测试',
|
||||||
btndisable: false,
|
btndisable: false,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
image: github,
|
||||||
|
name: 'api.github.com',
|
||||||
|
url: 'https://api.github.com',
|
||||||
|
proxy: true,
|
||||||
|
status: 'Normal',
|
||||||
|
time: '',
|
||||||
|
message: '未测试',
|
||||||
|
btndisable: false,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
image: github,
|
||||||
|
name: 'raw.githubusercontent.com',
|
||||||
|
url: 'https://raw.githubusercontent.com',
|
||||||
|
proxy: true,
|
||||||
|
status: 'Normal',
|
||||||
|
time: '',
|
||||||
|
message: '未测试',
|
||||||
|
btndisable: false,
|
||||||
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
const resolveStatusColor: Status = {
|
const resolveStatusColor: Status = {
|
||||||
|
|||||||
Reference in New Issue
Block a user