Commit Graph

64 Commits

Author SHA1 Message Date
fwd01
4e8ac0ec4c
chore: format code (#3753)
* feat: 格式化代码

* feat: 修改 gitlinter.yml node 版本配置

* feat: 补充格式化代码

---------

Co-authored-by: fuwedong <fuwendong5@outlook.com>
2024-04-22 10:41:30 +08:00
sea
890ff8f338
types: complete dirctives and v-role custom color (#3718)
* types: complete dirctives

* chore: v-auth custom color
2024-04-09 20:33:57 +08:00
invalid w
e26a4ee9cb chore: remove the volar plugin because it is not recommended for use 2024-03-12 09:22:42 +08:00
Li Kui
2c121edd3d
chore(i18n): add ts,js file support (#3552) 2024-01-18 15:42:31 +08:00
xingyu
e6c7b5f928
feat(deps): update vite version to 5.x (#3508) 2024-01-06 09:19:52 +08:00
xingyu
626c54504e
chore: update deps (#3465)
* chore: update deps

* fix: eslint

* chore: update deps

* chore: stylelint v16

* fix: stylelint

* fix: typecheck

* chore: node v18.12.0

* fix: type

* fix: style

* chore: up vue 3.4.3

* chore: prettier format

---------

Co-authored-by: invalid w <wangjuesix@gmail.com>
2024-01-05 09:45:30 +08:00
Sina Kulas
3a5f406260
fix: 解决 'Cannot find module uncss' 的问题 (#3334)
Co-authored-by: Tang <11726782+sugar_gitee@user.noreply.gitee.com>
2023-11-24 10:32:32 +08:00
xingyu
4d2fb0cb6f
refactor: '/@/' ==> '@/' and '/#/ '==> '#/' (#3329)
* refactor: /@/ ==> @/

* chore: '/@/' ==> '@/' and '/#/ '==> '#/'

* fix: lint:prettier
2023-11-24 10:32:04 +08:00
xingyu
7191ebc122
chore: 更新 unocss 版本及配置 (#3326)
* chore: 升级 unocss 版本 添加 unocss.config.ts 配置文件

* chore: 更新 unocss 插件
2023-11-23 17:40:49 +08:00
xingyu
bab28af986
refactor: components use setup (#3299)
* refactor: /@/ => @/

* refactor: table demo use script setup

* refactor: change /@/ to @/
2023-11-20 12:27:11 +08:00
bowen
c24e0efd1d
perf: Modify i18 file format to JSON (#3171) 2023-10-18 19:15:52 +08:00
invalid w
0b9dd918d9 chore: set vscode default formatter 2023-10-09 17:51:26 +08:00
invalid w
033d8828a9
perf: 解决ts文件通过alias引入vue文件后, vscode调转不到正确vue文件路径 (#3099) 2023-10-06 14:51:55 +08:00
vben
d25df8321e chore: windcss -> unocss 2023-04-05 18:17:55 +08:00
vben
5e4be0adbc chore: update config 2023-04-04 17:29:58 +08:00
vben
ba2415c3b4 chore: Extract lint config 2023-04-04 16:55:34 +08:00
vben
dc39567a14 chore: remove @vitejs/plugin-legacy vite-plugin-imagemin 2023-04-01 23:48:19 +08:00
vben
2cca7e8bfb chore: update vscode setting 2023-03-24 18:00:53 +08:00
Cyrus Zhou
1657439569
修复 updateSchema 多个field 属性时,第二个无效问题。 (#2493)
* Table BasicColumn 添加 editDynamicDisabled
Co-authored-by: Cyrus Zhou <6802207@qq.com>
使用方式同 Form FormSchema dynamicDisabled
```
export const Columns: BasicColumn[] = [
  {
    title: 'Title',
    dataIndex: 'Title',
    editRow: true,
    editComponent: 'Select',
    editDynamicDisabled: ({ record }) => record.isDisabled,
  },

* editComponentProps onChange 功能恢复
Co-authored-by: Cyrus Zhou <6802207@qq.com>
说明:
...omit(compProps, 'onChange')
这会忽略 onChange ,导致 editComponentProps onChange 被取消

如下功能将不支持:
```
editComponentProps: ({ record }) => {
  return {
    options: effectTypeData,
    onChange: () => {
    },
  };
},
```

* tableData == null 报错

* ApiSelect 第一次选择触发required错误提示问题

* 恢复 虽然可以解决第一次选择提示报错问题,但是会导致 onChange: (e: any, options: any) => 无法获得 options 的值

* 修复标签页切换灰屏不显示内容问题
Co-authored-by: Cyrus Zhou <6802207@qq.com>
问题描述页面没有用 div 包括 会提示 Component inside <Transition> renders non-element root node that cannot be animated ,
导致页灰屏必须刷新页面才可以显示内容

* 添加 Form ApiTransfer
## 使用方式
api 方式:
```
    ......
    component: 'ApiTransfer',
    componentProps: {
       api: sysUserSelector,
       labelField: 'name',
       valueField: 'id',
    },
    .....
```
数据方式:
```
     ....
     componentProps: {
      dataSource: [
        { title: 'Test01', key: '0', disabled: false, description: 'description 01' },
        { title: 'Test02', key: '1', disabled: false, description: 'description 02' },
        { title: 'Test03', key: '2', disabled: false, description: 'description 03' },
        { title: 'Test04', key: '3', disabled: false, description: 'description 04' },
        { title: 'Test05', key: '4', disabled: false, description: 'description 05' },
      ],
    },
    ....
```

* style: eslint 书写规范

* fix: 频繁切换页面导致灰屏

* fix: 修复 updateSchema 多个field 属性时,第二个无效问题。

如:
```
updateSchema([
          {
            field: 'password',
            ifShow: !unref(isUpdate),
          },
          {
            field: 'confirm',
            ifShow: !unref(isUpdate),
          },
        ]);
        ```

Co-authored-by: CyrusZhou <6802207@qq.com>
2023-01-18 11:17:44 +08:00
ParkerFiend
aefde45ad5
Update extensions.json (#1989) 2022-07-05 11:42:16 +08:00
cn.shperry
e09a797d05
types: 缩减 setup script 警告 & 修复表格列设置组件中部分方法参数类型错误. (#1980)
Co-authored-by: 舒培培 <622292@ky-tech.com.cn>
2022-06-19 17:50:16 +08:00
vben
5db1250a8d fix: stylelint config, close #1658 2022-03-19 06:55:37 +08:00
vben
52257f061d refactor(tree): Refactor tree to support antv3.0 2021-11-30 01:01:19 +08:00
vben
3fcfac1f37 wip: Upgrade ant-design-vue 3.0 2021-11-24 23:25:13 +08:00
handsomeFu
7e00488635
chore: Update extensions.json (#1359)
Use volar instead of vetur
2021-11-15 09:32:01 +08:00
1sm
9999650a9a
package.json yarn -> pnpm (#1336)
* fix(modal): 取消全屏功能后关闭图标颜色异常

* chore: move to pnpm

Co-authored-by: liushiman <smliu@gk-estor.com>
2021-11-08 09:24:22 +08:00
vben
b7813b9ba8 perf: typo 2021-10-26 01:06:35 +08:00
vben
56a966cfbf chore: format code 2021-08-24 22:41:48 +08:00
无木
1f55c4180f fix(i18n): add i18n translate data
添加部分缺失的翻译文案
2021-08-13 11:11:35 +08:00
Vben
5e17cc8802 refactor: refactor tailwindcss to windicss 2021-08-03 07:40:29 +08:00
vben
680ad0763c chore: restore vite to version 2.3.6 2021-07-19 23:54:47 +08:00
vben
327d71b8fb perf(router): reduce the number of guard files 2021-06-27 22:59:59 +08:00
Vben
893f3c79e7 refactor(css): refactored windicss to tailwindcss 2021-06-20 21:36:52 +08:00
vben
e8d6f8851e fix(store): fix type error after pinia version upgrade 2021-06-19 23:17:44 +08:00
Vben
4c89ea7474 fix(menu): fix the jitter problem of menu folding animation,fix #732 2021-06-18 00:39:33 +08:00
Vben
0acc4ab2dd perf(locale): reduce the number of multilingual files 2021-06-17 21:43:53 +08:00
Vben
4f20d45f9d chore: type optimization 2021-06-17 21:43:53 +08:00
Vben
cda0f9c10a chore: add some notes 2021-06-07 21:30:27 +08:00
Vben
a96cb2509c refactor(test-server): improve test service code 2021-06-05 22:29:56 +08:00
Vben
4da3d2c534 chore: vscode configuration adjustment 2021-06-03 23:45:01 +08:00
vben
8a3f47d6b8 chore: adjust setting 2021-06-01 21:38:16 +08:00
Vben
e090689ef5 chore: update deps 2021-03-26 21:16:08 +08:00
Vben
e12c588c0a refactor(route): refactoring the routing multi-layer model close #215 2021-03-17 00:10:16 +08:00
Vben
a89eeef6f3 feat(time): added time compoennt close #285 2021-03-12 21:40:23 +08:00
Vben
1418dc6a59 feat(icon): added svg icon picker 2021-03-09 23:03:32 +08:00
Vben
970d4049fd chore: update deps 2021-03-09 23:01:32 +08:00
Vben
9e3adaa30c fix(page-wrapper): fix PageWrapper title not showing 2021-03-08 23:16:35 +08:00
Vben
b7ce74abd6 refactor: refactor the project to solve the hot update problem caused by circular dependencies close #301 2021-03-08 21:19:09 +08:00
Vben
f57eb944ed perf: improve persistent logic 2021-02-27 19:55:30 +08:00
Vben
5cc9488bd6 workflow: add ftp-schedule workflow 2021-02-24 20:45:52 +08:00