This commit is contained in:
2025-04-18 13:00:32 +08:00
parent c2a3789e23
commit c9b62477e6
2 changed files with 6 additions and 3 deletions

View File

@@ -109,12 +109,14 @@ export default {
methods: {
// 获取编辑列表数据
getDate() {
this.$emit('loading',true)
this.$api
.post('/api/Recommend/lists', this.messform)
.then((res) => {
this.revTable = res.data.lists;
this.Total = res.data.total;
this.loading = false;
this.$emit('loading',false)
// this.loading = false;
})
.catch((err) => {
console.log(err);
@@ -123,7 +125,8 @@ export default {
// 关键字搜索
handleSearch() {
this.loading = true;
// this.loading = true;
// console.log(this.messform)
this.getDate();
},

View File

@@ -120,7 +120,7 @@
</div>
</div>
<div v-if="isSelectAI">
<commonAI @openSelect="openSelect" @openDetail="openDetail"></commonAI>
<commonAI @openSelect="openSelect" @openDetail="openDetail" @loading="(status)=>loading=status"></commonAI>
</div>
</div>
<el-dialog