feat: 用户联调
This commit is contained in:
@@ -76,7 +76,7 @@
|
||||
|
||||
<style lang="less" scoped>
|
||||
.ns-table-header {
|
||||
min-width: 500px;
|
||||
min-width: fit-content;
|
||||
user-select: none;
|
||||
// padding: 16px 0;
|
||||
padding-top: 16px;
|
||||
|
@@ -383,7 +383,7 @@
|
||||
|
||||
if (pagination) {
|
||||
const current = get(dataRef.value, props.pageField);
|
||||
// console.log(current);
|
||||
console.log(current);
|
||||
function getTotal() {
|
||||
let total = 0;
|
||||
if (isFunction(getPageParams)) {
|
||||
@@ -406,7 +406,7 @@
|
||||
},
|
||||
...(pagination as Props),
|
||||
total: getTotal(),
|
||||
current: (current >= 0 ? current : 0) + props.pageFieldOffset, // 后端0 开始
|
||||
current: (current >= 0 ? current : 0) + props.pageFieldOffset, // 后端1 开始
|
||||
pageSize: get(dataRef.value, props.sizeField),
|
||||
};
|
||||
}
|
||||
@@ -432,7 +432,7 @@
|
||||
() => getTableBindValues.value.api,
|
||||
() => {
|
||||
// console.log(getTableBindValues.value.api);
|
||||
fetch(); //路由切换导致api切换 导致发送请求
|
||||
// fetch(); //路由切换导致api切换 导致发送请求
|
||||
},
|
||||
{
|
||||
immediate: true,
|
||||
|
Reference in New Issue
Block a user