vbenjs / vue-vben-admin-doc Goto Github PK
View Code? Open in Web Editor NEWvue-vben-admin-doc
Home Page: https://vbenjs.github.io/vue-vben-admin-doc
vue-vben-admin-doc
Home Page: https://vbenjs.github.io/vue-vben-admin-doc
目前在一个form表单里面进行头像的上传,如何将CropperAvatar组件注册到formSchema里面进行配置和数据接口返回的获取。
在文档项目目录下新建一个en目录?
还是另开一个仓库?
我使用yarn dev后遇到这个问题,不知道怎么解决
src/router/menus/modules
文档路径错误,没modules目录了https://jeesite.com/front/vben-admin/docs/components/form.html#methods
useForm的Methods中removeSchemaByFiled 应为removeSchemaByField
(!) Could not auto-determine entry point from rollupOptions or html files and there are no explicit optimizeDeps.include patterns. Skipping dependency pre-bundling.
Hello everyone,
Is anyone has some docs that explain how to use BasicForm and schema?
I appreciate any help!
文档中 工具配置 提到的 I18n-ally - i18n 插件 已弃用,
可以使用同名插件 i18n Ally,
安装后重启VSCode,在左上角 会有 中英文 切换 图标,点击切换
https://jeesite.com/front/vben-admin/docs/components/form.html#props
form 的 resetFunc 实测会调用 resetFields 方法,有重置表单的默认行为,建议补充说明
docker打包的镜像提供服务时登陆提示405 Not Allowed
我看之前的candrag不支持了。
可以支持table行拖拽吗
请问表格支持多列排序吗?
如果不支持,请问可不可以加上这个特性?
或者,给个实现的思路呗
// 省市区
export function provinceApi(params: any) {
return defHttp.request<string[]>({
url: Api.provinceApi,
method: 'GET',
params,
headers: {
ignoreCancelToken: true,
},
})
}
axios 取消重复请求失效,headers: {
ignoreCancelToken: true,
},不起作用
最开始都是按照文档一步一步来的,pull了精简版仓库(很久没更新了)但发现后面实际代码和当前官方文档有出入
希望更新一下vben的官方文档 => https://vvbin.cn/doc-next/guide/introduction.html#%E6%A8%A1%E7%89%88
模板这里,如果精简版仓库不再维护了,希望标注一下精简版仓库是历史仓库,推荐精简版使用vben的thin分支
这样对刚接触这个框架的新手比较友好一些
@jinmao88 大哥,这么多人都在用这个项目当模板呢,能不能别玩了,我看这文档你提交一次挂一次,挂完也不检查也不管,干啥呢这是,求求了,别玩儿了。
多数项目还是不需要国际化的,每次手动移除对新手来说比较困难,希望增加移除I18n命令
在使用table表格时,配置minWidth最小宽度,无效
提示:Could not auto-determine entry point from rollupOptions or html files,there are no explicit optimizeDeps.include patterns. Skipping dependency pre
对应组件希望提供相应代码的实现效果
1、文档里面写的是使用yarn安装依赖、启动项目;
# 安装依赖
yarn
# 运行项目
yarn dev
2、实际上使用yarn启动项目是报错的,是因为项目里指定的包管理器是:pnpm
"packageManager": "[email protected]"
期望统一一下!
目前basicTable放在tab下面只能注册一次,resizable只在第一个tab下生效
具体为cannot destructor property ‘VITE_GLOB_APP_TITLE’ of 't' as it is underfined
查看环境.env 通用环境是有配置的。
While I'm sure chinese is a beautiful language, it's not the only language on the planet and i18n would be welcome.
https://vvbin.cn/doc-next/guide/design.html#tailwindcss-2-5-0
最新版本(2.7.1)使用的样式为windicss,并非tailwindcss
"vite-plugin-windicss": "^1.2.7",
windicss "^3.1.6"
node版本为12.14.1时启动失败,切换node版本到14.18.0时启动成功,建议在README.md注明最低支持node版本
The workflow deploy.yml is referencing action peaceiris/actions-gh-pages using references v2.5.0. However this reference is missing the commit d2178821cb5968f5b7c818210297f3dbeea3114c which may contain fix to the some vulnerability.
The vulnerability fix that is missing by actions version could be related to:
(1) CVE fix
(2) upgrade of vulnerable dependency
(3) fix to secret leak and others.
Please consider to update the reference to the action.
怎样把一个txt文件内容读取出来。
例如
我有一个admin-robots.txt文件
访问xxx.com/admin-robots.txt时需要返回admin-robots.txt文件中的内容,我应该怎样做?
文档 https://vvbin.cn/doc-next/guide/component.html#全局按需注册 中写到
import {
// Need
Button as AntButton,
Optional
Select,
Alert,
Checkbox,
DatePicker,
......
Optional的后面少了一个 , (逗号)
使用useTable中的 reload 方法之后 表格校验会出问题,检查后发现reload 在fetch后 useclome没有对其initial (自己的猜测)。
不知是否会增加支持?
不适用mock数据进行数据模拟的时候,路由模式使用前端路由生成模式(ROUTE_MAPPING)的时候,进行页面刷新,路由会丢失,并且进行浏览器地址导航无法导航
譬如cms上有几个文章栏目,如何让侧边栏,根据服务器传来的栏目数据,让栏目自动成为菜单项呢?
官方示例是一次加载完所有的树形数据进行展示;
现在的需求是展开的时候再进行异步请求,查询所有子节点;因为数据比较多;
请问该如何实现呢?
ApiSelect组件是否可以支持搜索
问题描述:
在表单中使用自定义组件,组件中有input输入框。现在想要增加对input的校验,如果不符合预期提示用户。但是目前不知道校验应该怎么写,以及如何才可以blur的时候触发校验规则。
// schemas { field: 'properties', component: 'KeyProperties', label: 'Properties', componentProps: { onChange: (e) => { console.log('onchange----e', e); }, }, required: true, }
`
// KeyProperties组件
<FormItem>
<a-button v-if="index === 0" @click="handleCreate">add</a-button>
<a-button v-else @click="handleRemove(index)">remove</a-button>
</FormItem>
</Space>
如何所示,想要过滤输入的特殊字符
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.