mirror of
https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
synced 2025-09-12 17:53:13 +08:00
bug fixed
This commit is contained in:
parent
8fc5e58276
commit
2d6aa1ef1a
4
backend/.idea/workspace.xml
generated
4
backend/.idea/workspace.xml
generated
@ -22,8 +22,9 @@
|
|||||||
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
|
<list default="true" id="8b97a098-48b2-4e64-a9ef-522fe2d30b52" name="Default Changelist" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/sub-store.js" beforeDir="false" afterPath="$PROJECT_DIR$/sub-store.js" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/sub-store.js" beforeDir="false" afterPath="$PROJECT_DIR$/sub-store.js" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/../web/src/components/SortOperator.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/components/SortOperator.vue" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/../web/src/components/ProxyList.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/components/ProxyList.vue" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/../web/src/config.js" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/config.js" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/../web/src/config.js" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/config.js" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../web/src/views/Subscription.vue" beforeDir="false" afterPath="$PROJECT_DIR$/../web/src/views/Subscription.vue" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@ -93,6 +94,7 @@
|
|||||||
<workItem from="1598900239005" duration="4742000" />
|
<workItem from="1598900239005" duration="4742000" />
|
||||||
<workItem from="1598931009084" duration="2069000" />
|
<workItem from="1598931009084" duration="2069000" />
|
||||||
<workItem from="1598946261983" duration="463000" />
|
<workItem from="1598946261983" duration="463000" />
|
||||||
|
<workItem from="1598948545209" duration="3969000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
|
5735
backend/sub-store.js
5735
backend/sub-store.js
File diff suppressed because it is too large
Load Diff
@ -36,7 +36,7 @@ import {axios} from "@/utils";
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "ProxyList",
|
name: "ProxyList",
|
||||||
props: ['url'],
|
props: ['url', 'sub'],
|
||||||
data: function (){
|
data: function (){
|
||||||
return {
|
return {
|
||||||
proxies: []
|
proxies: []
|
||||||
@ -44,7 +44,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
refresh() {
|
refresh() {
|
||||||
axios.post(`/refresh`, {url: this.url}).then(() => {
|
axios.post(`/refresh`, {url: this.sub}).then(() => {
|
||||||
this.fetch();
|
this.fetch();
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
const DEBUG = process.env.NODE_ENV === "development";
|
// const DEBUG = process.env.NODE_ENV === "development";
|
||||||
|
const DEBUG = false;
|
||||||
export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `https://sub.store`;
|
export const BACKEND_BASE = DEBUG ? `http://192.168.1.134:3000` : `https://sub.store`;
|
@ -148,7 +148,7 @@
|
|||||||
</v-toolbar>
|
</v-toolbar>
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
<v-card-text class="pl-0 pr-0">
|
<v-card-text class="pl-0 pr-0">
|
||||||
<proxy-list :url="url" ref="proxyList" :key="url"></proxy-list>
|
<proxy-list :url="url" :sub="sub" ref="proxyList" :key="url"></proxy-list>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
@ -166,6 +166,7 @@ export default {
|
|||||||
opened: false,
|
opened: false,
|
||||||
showProxyList: false,
|
showProxyList: false,
|
||||||
url: "",
|
url: "",
|
||||||
|
sub: [],
|
||||||
editMenu: [
|
editMenu: [
|
||||||
{
|
{
|
||||||
title: "复制",
|
title: "复制",
|
||||||
@ -227,7 +228,8 @@ export default {
|
|||||||
},
|
},
|
||||||
preview(item, type = 'sub') {
|
preview(item, type = 'sub') {
|
||||||
if (type === 'sub') {
|
if (type === 'sub') {
|
||||||
this.url = `${BACKEND_BASE}/download/${item.name}`
|
this.url = `${BACKEND_BASE}/download/${item.name}`;
|
||||||
|
this.sub = [item.url];
|
||||||
} else {
|
} else {
|
||||||
this.url = `${BACKEND_BASE}/download/collection/${item.name}`
|
this.url = `${BACKEND_BASE}/download/collection/${item.name}`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user