fix 修改详情触发两次接口 数据库订阅添加字段
This commit is contained in:
parent
e8cd3f20ba
commit
213130a207
BIN
db/database.db
BIN
db/database.db
Binary file not shown.
@ -1,5 +1,4 @@
|
||||
const axios = require("axios")
|
||||
const puppeteer = require("puppeteer")
|
||||
const cheerio = require("cheerio"); // HTML页面解析
|
||||
async function search(name) {
|
||||
const list = await axios.get(`https://movie.douban.com/j/subject_suggest?q=${name}`, {
|
||||
|
@ -9,7 +9,7 @@
|
||||
<span>{{ i.title }}({{ i.year }})</span>
|
||||
<div class="bottom">
|
||||
<time class="time">类型:{{ i.type }}</time>
|
||||
<el-button text class="button" @click="getInfo(i.id)">详情</el-button>
|
||||
<el-button text class="button" >详情</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-card>
|
||||
|
Loading…
Reference in New Issue
Block a user