mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
刷新添加案例页面
This commit is contained in:
@@ -223,6 +223,7 @@ const remove = (id) => {
|
||||
}
|
||||
// 下一步返回的刷新列表
|
||||
function submitCall(flag) {
|
||||
searchDataInfo.pageIndex = 1
|
||||
flag && getTopList()
|
||||
}
|
||||
// 计算选择的条数
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="jsx">
|
||||
import { ref, onMounted, reactive } from "vue";
|
||||
import { ref, onMounted, reactive, watch } from "vue";
|
||||
import { Form, message } from "ant-design-vue";
|
||||
import { boeRequest } from "@/api/request";
|
||||
import useDownload from '@/hooks/useDownload'
|
||||
@@ -186,6 +186,12 @@ const searchData = ref({
|
||||
const newNext = ref(false);
|
||||
const recommendTimeList = ref([]);
|
||||
const loading = ref(false);
|
||||
watch(newNext, (value) => {
|
||||
if (!value) {
|
||||
searchData.value.pageIndex = 1;
|
||||
getList()
|
||||
}
|
||||
})
|
||||
|
||||
const getList = (num) => {
|
||||
if (num === 1) searchData.value.pageIndex = 1;
|
||||
|
||||
Reference in New Issue
Block a user