mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-18 08:02:01 +08:00
fix: 修复一些代码warning(不影响实际运行)
This commit is contained in:
@@ -46,7 +46,6 @@ const gridOptions: VxeGridProps = {
|
||||
// 默认请求接口后展开全部 不需要可以删除这段
|
||||
querySuccess: () => {
|
||||
// 默认展开 需要加上标记
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
eachTree(tableApi.grid.getData(), (item) => (item.expand = true));
|
||||
nextTick(() => {
|
||||
setExpandOrCollapse(true);
|
||||
|
||||
@@ -32,7 +32,6 @@ const formOptions: VbenFormProps = {
|
||||
wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4',
|
||||
handleReset: async () => {
|
||||
selectDeptId.value = [];
|
||||
// eslint-disable-next-line no-use-before-define
|
||||
const { formApi, reload } = tableApi;
|
||||
await formApi.resetForm();
|
||||
const formValues = formApi.form.values;
|
||||
|
||||
Reference in New Issue
Block a user