mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 15:36:49 +08:00
feat(NetTestView): 添加对api.github.com和raw.githubusercontent.com的支持
This commit is contained in:
@@ -446,31 +446,32 @@ onBeforeMount(async () => {
|
|||||||
</VWindow>
|
</VWindow>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- 插件搜索图标 -->
|
<div>
|
||||||
<VFab
|
<!-- 插件搜索图标 -->
|
||||||
icon="mdi-magnify"
|
<VFab
|
||||||
color="info"
|
icon="mdi-magnify"
|
||||||
location="bottom"
|
color="info"
|
||||||
size="x-large"
|
location="bottom"
|
||||||
fixed
|
size="x-large"
|
||||||
app
|
fixed
|
||||||
appear
|
app
|
||||||
@click="SearchDialog = true"
|
appear
|
||||||
:class="appMode ? 'mb-28' : 'mb-16'"
|
@click="SearchDialog = true"
|
||||||
/>
|
:class="appMode ? 'mb-28' : 'mb-16'"
|
||||||
<!-- 插件市场设置图标 -->
|
/>
|
||||||
<VFab
|
<!-- 插件市场设置图标 -->
|
||||||
icon="mdi-store-cog"
|
<VFab
|
||||||
color="warning"
|
icon="mdi-store-cog"
|
||||||
location="bottom"
|
color="warning"
|
||||||
size="x-large"
|
location="bottom"
|
||||||
fixed
|
size="x-large"
|
||||||
app
|
fixed
|
||||||
appear
|
app
|
||||||
@click="MarketSettingDialog = true"
|
appear
|
||||||
:class="{ 'mb-12': appMode }"
|
@click="MarketSettingDialog = true"
|
||||||
/>
|
: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,29 +100,31 @@ onActivated(async () => {
|
|||||||
/>
|
/>
|
||||||
</VPullToRefresh>
|
</VPullToRefresh>
|
||||||
<!-- 底部操作按钮 -->
|
<!-- 底部操作按钮 -->
|
||||||
<VFab
|
<div>
|
||||||
v-if="store.state.auth.superUser"
|
<VFab
|
||||||
icon="mdi-clipboard-edit"
|
v-if="store.state.auth.superUser"
|
||||||
location="bottom"
|
icon="mdi-clipboard-edit"
|
||||||
size="x-large"
|
location="bottom"
|
||||||
fixed
|
size="x-large"
|
||||||
app
|
fixed
|
||||||
appear
|
app
|
||||||
@click="subscribeEditDialog = true"
|
appear
|
||||||
:class="{ 'mb-12': appMode }"
|
@click="subscribeEditDialog = true"
|
||||||
/>
|
:class="{ 'mb-12': appMode }"
|
||||||
<VFab
|
/>
|
||||||
v-if="store.state.auth.superUser"
|
<VFab
|
||||||
icon="mdi-history"
|
v-if="store.state.auth.superUser"
|
||||||
color="info"
|
icon="mdi-history"
|
||||||
location="bottom"
|
color="info"
|
||||||
:class="appMode ? 'mb-28' : 'mb-16'"
|
location="bottom"
|
||||||
size="x-large"
|
:class="appMode ? 'mb-28' : 'mb-16'"
|
||||||
fixed
|
size="x-large"
|
||||||
app
|
fixed
|
||||||
appear
|
app
|
||||||
@click="historyDialog = true"
|
appear
|
||||||
/>
|
@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