|
|
@@ -77,7 +77,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, reactive, computed, onMounted } from 'vue'
|
|
|
+import { ref, reactive, onMounted } from 'vue'
|
|
|
import { useRouter } from 'vue-router'
|
|
|
import {queryInterface} from "/src/commom/api/interfaceInfo.js";
|
|
|
import {ElMessage} from "element-plus";
|
|
|
@@ -94,7 +94,16 @@ const pagination = reactive({
|
|
|
size: 10,
|
|
|
total: 0
|
|
|
})
|
|
|
+const handleSizeChange = (size) => {
|
|
|
+ pagination.size = size
|
|
|
+ pagination.current = 1
|
|
|
+ fetchTableData()
|
|
|
+}
|
|
|
|
|
|
+const handleCurrentChange = (current) => {
|
|
|
+ pagination.current = current
|
|
|
+ fetchTableData()
|
|
|
+}
|
|
|
// 加载状态
|
|
|
const loading = ref(false)
|
|
|
|