ant-design-vue-pro icon indicating copy to clipboard operation
ant-design-vue-pro copied to clipboard

👨🏻‍💻👩🏻‍💻 Use Ant Design Vue like a Pro! (vue2)

Results 166 ant-design-vue-pro issues
Sort by recently updated
recently updated
newest added

`在BasicLayout.vue布局组件中想写接口,引入接口时会导致空白页

question

1.请问左侧导航栏如果全部展开,pro-layout版本如下: "@ant-design-vue/pro-layout": "^1.0.8", 2.请问导航栏如何增加非导航用途的文字,做成如下样式 文字(不用来跳转路由) title1 路由1 路由2 title2 路由1 路由2 文字(不用来跳转路由) title1 路由1 路由2 title2 路由1 路由2

question

**Question (问题描述)** 看到官网上有这部分优化,但是该怎么使用呢?https://pro.ant.design/zh-CN/blog/layout-new-style **Describe the solution you'd like (你期待的是什么?)** 我的项目二级菜单过长,框架默认侧边菜单宽度是208px,过长的标题被缩略,想要展示全标题 **Additional context(附加信息)** 详见截图 ![4915b2b6f56a2b876d7f407db1f4a4a](https://user-images.githubusercontent.com/57129767/155282709-a4d50233-63a3-4fc3-a6bf-a69111a53538.png) ![f4e38cf8e7e712a2d86e476e04ac034](https://user-images.githubusercontent.com/57129767/155282866-f034fb7c-7324-4aff-a1a4-fca4314dfd75.png)

question

![image](https://user-images.githubusercontent.com/77775927/154443633-7f21090c-9560-4246-94db-f88ab8fbe7e5.png) 这个请问新增页面该如何定义

question

**Question (问题描述)** How to use component `s-table` paging ![2022-02-17_15-52](https://user-images.githubusercontent.com/37682379/154430212-fd93903a-8d4c-4635-86b2-b8d57c1c19f6.png) **Describe the solution you'd like (你期待的是什么?)** A clear and concise description of what you want to happen. 想实现刷新页面 **Additional context(附加信息)** Add...

question

**Describe the bug (描述 Bug)** 根据[ant design pro of vue 官网 路由和默认权限控制](https://pro.antdv.com/docs/authority-management)描述,按照固定格式返回数据,再使用router.addRoutes动态挂载到 router 上即可,于是尝试使用mock先模拟数据进行动态路由,但是失败了。 **To Reproduce (重现步骤)** Steps to reproduce the behavior: 1. 打开 src/store/index.js,注释 **import permission from './modules/permission'** 取消注释...

**Question (问题描述)** 我正在寻求一个Table的封装方式处理一些模板代码 **Describe the solution you'd like (你期待的是什么?)** 消灭模板代码,在维持代码的拓展性和数据流的清晰度的前提下 **Additional context(附加信息)** 我注意到STable,它在一定程度上不用手写分页,但是在加入额外条件,比如搜索/筛选框时,它必须使用Ref来刷新(比如[例子](https://github.com/vueComponent/ant-design-vue-pro/blob/master/src/components/Table/README.md#%E4%BE%8B%E5%AD%902)),我的观点以及Vue的文档隐约表示,如果不是万不得已,不要使用ref,STable在这里得到的便利性对于付出的代价是否是值得的?你们如何看待直接用ref控制子组件的做法?

question

你好,近期一直在使用您开发的ant deisgn pro vue进行开发,非常感激。 可是碰到了一个难点:我想用mock自带的数据来测试一下动态路由,我找到了**src/mock/services/user.js** 的 **userNav**方法 接着我找到**src/store/index.js**注释了 **import permission from './modules/permission'** 放开了 **import permission from './modules/async-router'**。然后运行时会报错: _can not find module './BasicLayout' at eval(eval at ./src/views lazyrecursive)_ 我找了一下是**src/router/generator-routers.js** 里的**rootRouter**报错,是动态生成的路由中找不到**BasicLayout**的引入,我想知道这问题怎么解决呢?我注意到模拟的数据里component都是字符串形式的组件名,动态生成的路由会编译到哪个文件上去,是否我在那个文件里预先引入了组件就好了呢? 期盼回复,感谢!

question

**Question (问题描述)** 前端设置的超时时间不起作用,后端接口阻塞了30s,前端设置了6s,目前是会一直等到30s返回数据 ![image](https://user-images.githubusercontent.com/76081827/152752053-67e72bf4-e804-4a07-88a7-6c4732023aa8.png) **Describe the solution you'd like (你期待的是什么?)** 前端应该在请求6s的时候就返回超时 **Additional context(附加信息)**

question

**Question (问题描述)** How to use component `s-table` paging **Describe the solution you'd like (你期待的是什么?)** A clear and concise description of what you want to happen. **Additional context(附加信息)** Add any other...

question