🌮 切换端口号, 添加文档 🥪

This commit is contained in:
hunlongyu
2020-07-13 17:49:45 +08:00
parent f3aa8c1f51
commit 1cd91aada2
22 changed files with 228 additions and 30 deletions

View File

@@ -250,7 +250,14 @@ export default {
})
},
openDoc (e) {
this.$message.info('文档还在整理中, 请耐心等待~')
if (e === 'sites') {
this.linkOpen('http://zyplayer.fun/doc/sites/')
return false
}
if (e === 'shortcut') {
this.linkOpen('http://zyplayer.fun/doc/shortcut/')
return false
}
}
},
created () {

View File

@@ -15,4 +15,4 @@ app.post('/api', async (req, res) => {
})
})
app.listen(4848)
app.listen(48484)

View File

@@ -2,7 +2,7 @@ import { sites } from '../dexie'
import axios from 'axios'
import parser from 'fast-xml-parser'
const zy = {
ports: 4848, // 端口号
ports: 48484, // 端口号
xmlConfig: { // XML 转 JSON 配置
trimValues: true,
textNodeName: '_t',