fix: 修正vxtable不存在formConfig时,直接变更data失效问题
This commit is contained in:
@@ -230,9 +230,9 @@ const options = computed(() => {
|
|||||||
}
|
}
|
||||||
if (mergedOptions.formConfig) {
|
if (mergedOptions.formConfig) {
|
||||||
mergedOptions.formConfig.enabled = false;
|
mergedOptions.formConfig.enabled = false;
|
||||||
if (tableData.value && tableData.value.length > 0) {
|
}
|
||||||
mergedOptions.data = tableData.value;
|
if (tableData.value && tableData.value.length > 0) {
|
||||||
}
|
mergedOptions.data = tableData.value;
|
||||||
}
|
}
|
||||||
return mergedOptions;
|
return mergedOptions;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user