refactor: 前端defaultUrls+compose key sync→index
This commit is contained in:
@@ -142,7 +142,7 @@ const editSiteId = ref(''), editorJson = ref('{}'), originalJson = ref('')
|
||||
const snapshotStatus = ref(null)
|
||||
const authType = ref('NONE')
|
||||
const defaultUrls = {
|
||||
sync: '/index.php',
|
||||
index: '/index.php',
|
||||
signIn: '/attendance.php',
|
||||
search: '/torrents.php?search={keyword}',
|
||||
download: '/download.php?id={id}',
|
||||
@@ -315,7 +315,7 @@ const addEntryByKey = (k) => {
|
||||
syncToJson()
|
||||
}
|
||||
const addComposeEntry = () => {
|
||||
parsed.value.push({ key: 'sync', compose: ['profile', 'peerStats'] })
|
||||
parsed.value.push({ key: 'index', compose: ['profile', 'peerStats'] })
|
||||
syncToJson()
|
||||
}
|
||||
const deletePages = async () => {
|
||||
|
||||
Reference in New Issue
Block a user