Commit cfb43248 authored by 张伯涛's avatar 张伯涛

eslint问题

parent 65ae3a6c
import {Plus, Delete, Edit, Search, Share, Upload,Download } from '@element-plus/icons-vue'
import {
Plus,
Delete,
Edit,
Search,
Share,
Upload,
Download,
} from "@element-plus/icons-vue";
/** 公共字段*/
export const commonField = {
typeParent: 'primary', // typeParent: 'text', type="text" 已在3.00移除,用了typeParent这个字段的需要在按钮用link设置链接按钮
typePrimary: 'primary',
typeSuccess: 'success',
typeWarning: 'warning',
queryClass: 'queryBtn', // 查询按钮class
resetClass: 'resetBtn', // 重置按钮class
addClass: 'addBtn', // 新增按钮class
updateClass: 'updateBtn', // 修改按钮class
delClass: 'delBtn', // 删除按钮class
importClass: 'importBtn', // 导入按钮class
exportClass: 'exportBtn', // 导出按钮class
addClassText: 'addBtnText', // 文字类型的新增按钮class
resetPasClass: 'resetBtnText', // 文字类型的重置按钮class
queryName: '查询',
resetName: '重置',
addName: '新增',
updateName: '修改',
deleteName: '删除',
dataPower: '数据权限',
resetPassword: '重置密码',
exportName: '导出',
importName: '导入',
cleanName: '清空',
viewName: '查看',
size: 'default',
smallSize: 'small',
queryIcon: 'el-icon-search',
resetIcon: 'el-icon-refresh',
typeParent: "primary", // typeParent: 'text', type="text" 已在3.00移除,用了typeParent这个字段的需要在按钮用link设置链接按钮
typePrimary: "primary",
typeSuccess: "success",
typeWarning: "warning",
queryClass: "queryBtn", // 查询按钮class
resetClass: "resetBtn", // 重置按钮class
addClass: "addBtn", // 新增按钮class
updateClass: "updateBtn", // 修改按钮class
delClass: "delBtn", // 删除按钮class
importClass: "importBtn", // 导入按钮class
exportClass: "exportBtn", // 导出按钮class
addClassText: "addBtnText", // 文字类型的新增按钮class
resetPasClass: "resetBtnText", // 文字类型的重置按钮class
queryName: "查询",
resetName: "重置",
addName: "新增",
updateName: "修改",
deleteName: "删除",
dataPower: "数据权限",
resetPassword: "重置密码",
exportName: "导出",
importName: "导入",
cleanName: "清空",
viewName: "查看",
size: "default",
smallSize: "small",
queryIcon: "el-icon-search",
resetIcon: "el-icon-refresh",
addIcon: Plus,
delIcon: 'el-icon-delete',
delIcon: "el-icon-delete",
importIcon: Upload,
exportIcon: Download,
deleteTypePrimary: 'danger',
deleteSize: 'small',
deleteDisabled: 'ids.length === 0',
cleanTypePrimary: 'danger',
cleanSize: 'small',
miniSize: 'default',
exportTypePrimary: 'success',
exportSize: 'small',
typeText: 'text'
}
deleteTypePrimary: "danger",
deleteSize: "small",
deleteDisabled: "ids.length === 0",
cleanTypePrimary: "danger",
cleanSize: "small",
miniSize: "default",
exportTypePrimary: "success",
exportSize: "small",
typeText: "text",
};
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment