2020-10-09 23:22:55 +08:00
|
|
|
{
|
|
|
|
"typescript.tsdk": "./node_modules/typescript/lib",
|
2021-02-17 22:07:22 +08:00
|
|
|
"volar.tsPlugin": true,
|
|
|
|
"volar.tsPluginStatus": false,
|
2021-11-10 22:12:10 +08:00
|
|
|
"npm.packageManager": "pnpm",
|
2021-03-12 21:40:23 +08:00
|
|
|
"editor.tabSize": 2,
|
2021-03-09 23:01:32 +08:00
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
2021-06-05 22:29:33 +08:00
|
|
|
"files.eol": "\n",
|
2020-10-09 23:22:55 +08:00
|
|
|
"search.exclude": {
|
|
|
|
"**/node_modules": true,
|
|
|
|
"**/*.log": true,
|
|
|
|
"**/*.log*": true,
|
|
|
|
"**/bower_components": true,
|
|
|
|
"**/dist": true,
|
|
|
|
"**/elehukouben": true,
|
|
|
|
"**/.git": true,
|
|
|
|
"**/.gitignore": true,
|
|
|
|
"**/.svn": true,
|
|
|
|
"**/.DS_Store": true,
|
|
|
|
"**/.idea": true,
|
|
|
|
"**/.vscode": false,
|
|
|
|
"**/yarn.lock": true,
|
2020-12-02 21:11:37 +08:00
|
|
|
"**/tmp": true,
|
|
|
|
"out": true,
|
|
|
|
"dist": true,
|
|
|
|
"node_modules": true,
|
|
|
|
"CHANGELOG.md": true,
|
|
|
|
"examples": true,
|
|
|
|
"res": true,
|
2021-06-17 21:43:53 +08:00
|
|
|
"screenshots": true,
|
|
|
|
"yarn-error.log": true,
|
|
|
|
"**/.yarn": true
|
2020-10-09 23:22:55 +08:00
|
|
|
},
|
|
|
|
"files.exclude": {
|
2021-06-17 21:43:53 +08:00
|
|
|
"**/.cache": true,
|
|
|
|
"**/.editorconfig": true,
|
|
|
|
"**/.eslintcache": true,
|
2020-10-09 23:22:55 +08:00
|
|
|
"**/bower_components": true,
|
|
|
|
"**/.idea": true,
|
|
|
|
"**/tmp": true,
|
|
|
|
"**/.git": true,
|
|
|
|
"**/.svn": true,
|
|
|
|
"**/.hg": true,
|
|
|
|
"**/CVS": true,
|
|
|
|
"**/.DS_Store": true
|
|
|
|
},
|
|
|
|
"files.watcherExclude": {
|
|
|
|
"**/.git/objects/**": true,
|
|
|
|
"**/.git/subtree-cache/**": true,
|
|
|
|
"**/.vscode/**": true,
|
|
|
|
"**/node_modules/**": true,
|
|
|
|
"**/tmp/**": true,
|
|
|
|
"**/bower_components/**": true,
|
|
|
|
"**/dist/**": true,
|
|
|
|
"**/yarn.lock": true
|
|
|
|
},
|
|
|
|
"stylelint.enable": true,
|
2022-03-19 06:49:33 +08:00
|
|
|
"stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass"],
|
2020-10-09 23:22:55 +08:00
|
|
|
"path-intellisense.mappings": {
|
|
|
|
"/@/": "${workspaceRoot}/src"
|
|
|
|
},
|
|
|
|
"[javascriptreact]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescript]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[typescriptreact]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[html]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[css]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[less]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[scss]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[markdown]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"editor.codeActionsOnSave": {
|
2023-04-04 16:55:34 +08:00
|
|
|
"source.fixAll.eslint": true,
|
|
|
|
"source.fixAll.stylelint": true
|
2020-12-01 23:51:39 +08:00
|
|
|
},
|
2021-03-08 21:19:09 +08:00
|
|
|
"[vue]": {
|
|
|
|
"editor.codeActionsOnSave": {
|
2022-03-19 06:49:33 +08:00
|
|
|
"source.fixAll.eslint": true,
|
|
|
|
"source.fixAll.stylelint": true
|
2021-03-08 21:19:09 +08:00
|
|
|
}
|
|
|
|
},
|
2021-01-05 21:45:05 +08:00
|
|
|
"i18n-ally.localesPaths": ["src/locales/lang"],
|
2020-12-01 23:51:39 +08:00
|
|
|
"i18n-ally.keystyle": "nested",
|
|
|
|
"i18n-ally.sortKeys": true,
|
|
|
|
"i18n-ally.namespace": true,
|
2020-12-02 21:11:37 +08:00
|
|
|
"i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
|
2021-01-05 21:45:05 +08:00
|
|
|
"i18n-ally.enabledParsers": ["ts"],
|
2021-03-09 23:03:32 +08:00
|
|
|
"i18n-ally.sourceLanguage": "en",
|
2021-08-13 11:11:35 +08:00
|
|
|
"i18n-ally.displayLanguage": "zh-CN",
|
2021-06-17 21:43:53 +08:00
|
|
|
"i18n-ally.enabledFrameworks": ["vue", "react"],
|
2021-06-19 23:17:44 +08:00
|
|
|
"cSpell.words": [
|
|
|
|
"vben",
|
|
|
|
"browserslist",
|
2021-06-20 21:36:52 +08:00
|
|
|
"tailwindcss",
|
2021-06-19 23:17:44 +08:00
|
|
|
"esnext",
|
|
|
|
"antv",
|
|
|
|
"tinymce",
|
|
|
|
"qrcode",
|
|
|
|
"sider",
|
2021-06-20 21:36:52 +08:00
|
|
|
"pinia",
|
2021-06-27 14:11:04 +08:00
|
|
|
"sider",
|
2021-07-19 23:54:47 +08:00
|
|
|
"nprogress",
|
|
|
|
"INTLIFY",
|
|
|
|
"stylelint",
|
|
|
|
"esno",
|
|
|
|
"vitejs",
|
|
|
|
"sortablejs",
|
|
|
|
"mockjs",
|
|
|
|
"codemirror",
|
|
|
|
"iconify",
|
|
|
|
"commitlint",
|
|
|
|
"vditor",
|
|
|
|
"echarts",
|
|
|
|
"cropperjs",
|
|
|
|
"logicflow",
|
|
|
|
"vueuse",
|
|
|
|
"zxcvbn",
|
|
|
|
"lintstagedrc",
|
2021-08-03 07:40:29 +08:00
|
|
|
"brotli",
|
|
|
|
"tailwindcss",
|
2021-11-08 09:24:22 +08:00
|
|
|
"sider",
|
2021-11-30 00:53:26 +08:00
|
|
|
"pnpm",
|
|
|
|
"antd"
|
2022-06-19 17:50:16 +08:00
|
|
|
],
|
|
|
|
"vetur.format.scriptInitialIndent": true,
|
|
|
|
"vetur.format.styleInitialIndent": true,
|
修复 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
|
|
|
"vetur.validation.script": false,
|
|
|
|
"MicroPython.executeButton": [
|
|
|
|
{
|
|
|
|
"text": "▶",
|
|
|
|
"tooltip": "运行",
|
|
|
|
"alignment": "left",
|
|
|
|
"command": "extension.executeFile",
|
|
|
|
"priority": 3.5
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"MicroPython.syncButton": [
|
|
|
|
{
|
|
|
|
"text": "$(sync)",
|
|
|
|
"tooltip": "同步",
|
|
|
|
"alignment": "left",
|
|
|
|
"command": "extension.execute",
|
|
|
|
"priority": 4
|
|
|
|
}
|
2023-03-24 18:00:37 +08:00
|
|
|
],
|
|
|
|
// 控制相关文件嵌套展示
|
|
|
|
"explorer.fileNesting.enabled": true,
|
|
|
|
"explorer.fileNesting.expand": false,
|
|
|
|
"explorer.fileNesting.patterns": {
|
|
|
|
"*.ts": "$(capture).test.ts, $(capture).test.tsx",
|
|
|
|
"*.tsx": "$(capture).test.ts, $(capture).test.tsx",
|
|
|
|
"*.env": "$(capture).env.*",
|
2023-04-01 23:48:19 +08:00
|
|
|
"CHANGELOG.md": "CHANGELOG*",
|
2023-04-04 17:29:58 +08:00
|
|
|
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc",
|
2023-04-01 23:48:19 +08:00
|
|
|
".eslintrc.js": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelintrc.js"
|
2023-03-24 18:00:37 +08:00
|
|
|
},
|
|
|
|
"terminal.integrated.scrollback": 10000
|
2021-01-05 21:45:05 +08:00
|
|
|
}
|