Fix bug and README.md update

This commit is contained in:
xiaoma
2021-09-18 17:49:04 +08:00
parent 531a31ee5d
commit d1635add5f
10 changed files with 60 additions and 12 deletions
+5
View File
@@ -50,6 +50,11 @@
return { ...props, ...(unref(propsRef) as any) };
});
const subBtuText = computed(() => {
const { subBtuText } = propsRef.value as any
return subBtuText;
})
async function setProps(modalProps: Partial<ModalProps>): Promise<void> {
propsRef.value = deepMerge(unref(propsRef) || ({} as any), modalProps);
}
+1 -1
View File
@@ -77,10 +77,10 @@
field: 'makeDate',
component: 'NDatePicker',
label: '预约时间',
defaultValue: 1183135260000,
componentProps: {
type: 'date',
clearable: true,
defaultValue: 1183135260000,
onUpdateValue: (e: any) => {
console.log(e);
},
+1 -1
View File
@@ -79,10 +79,10 @@
giProps: {
//span: 24,
},
defaultValue: 1183135260000,
componentProps: {
type: 'date',
clearable: true,
defaultValue: 1183135260000,
onUpdateValue: (e: any) => {
console.log(e);
},
+1 -1
View File
@@ -120,10 +120,10 @@
giProps: {
//span: 24,
},
defaultValue: 1183135260000,
componentProps: {
type: 'date',
clearable: true,
defaultValue: 1183135260000,
onUpdateValue: (e: any) => {
console.log(e);
},
+1 -1
View File
@@ -73,7 +73,7 @@
}
const loadDataTable = async (res) => {
return await getTableList({...res,...params});
return await getTableList({ ...params, ...res });
};
function onCheckedRow(rowKeys) {
+1 -1
View File
@@ -39,7 +39,7 @@
}
const loadDataTable = async (res) => {
return await getTableList({ ...res, ...params });
return await getTableList({ ...params, ...res });
};
function onCheckedRow(rowKeys) {
+1 -1
View File
@@ -94,7 +94,7 @@
}
const loadDataTable = async (res) => {
return await getTableList({ ...res, ...params });
return await getTableList({ ...params, ...res });
};
function onCheckedRow(rowKeys) {
+2 -2
View File
@@ -141,10 +141,10 @@
field: 'makeDate',
component: 'NDatePicker',
label: '预约时间',
defaultValue: 1183135260000,
componentProps: {
type: 'date',
clearable: true,
defaultValue: 1183135260000,
onUpdateValue: (e: any) => {
console.log(e);
},
@@ -296,7 +296,7 @@
}
const loadDataTable = async (res) => {
return await getTableList({...res, ...formParams, ...params.value});
return await getTableList({ ...formParams, ...params.value, ...res });
};
function onCheckedRow(rowKeys) {
+1 -1
View File
@@ -136,8 +136,8 @@
const loadDataTable = async (res: any) => {
let _params = {
...res,
...unref(params),
...res,
};
return await getRoleList(_params);
};