feat: 价格调整管理模块 el-table → VxeTable 迁移
- 安装 vxe-table@4.19.6 + xe-utils@3.9.1 - main.js 全局注册 VxeTable - priceAdjustmentManagement/index.vue 替换 4 个表格: - el-table → vxe-table (+ edit-config 可编辑单元格) - el-table-column → vxe-column - selection → checkbox - 可编辑列添加 edit-render - 备份: backup/vxetable-migration-20260602/
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import {createApp} from 'vue';
|
||||
|
||||
import VxeUIAll from 'vxe-table';
|
||||
import 'vxe-table/lib/style.css';
|
||||
import Cookies from 'js-cookie';
|
||||
|
||||
// 导入 hiprint 并挂载到全局 window 对象
|
||||
@@ -122,6 +124,7 @@ directive(app);
|
||||
// 全局禁止点击遮罩层关闭弹窗
|
||||
ElDialog.props.closeOnClickModal.default = false;
|
||||
// 使用element-plus 并且设置全局的大小
|
||||
app.use(VxeUIAll);
|
||||
app.use(ElementPlus, {
|
||||
locale: zhCn,
|
||||
// 支持 large、default、small
|
||||
|
||||
Reference in New Issue
Block a user