Giter VIP home page Giter VIP logo

ant-design-vue-pro's Issues

login

after login not work redirect to dashboard
请求出现错误,请稍后再试
sometimes mock data unavailable

header and sidebar

header under sidebar

i think this project the best of ant-design-pro clones.

请问build以后发布路由访问的问题

美女你好:
请教一个build的问题,项目我build以后 发现访问首页 http://192.168.6.11:8011/index.html 没有问题,它后面跳转到路由地址也没有问题,比如 http://192.168.6.11:8011/dashboard/workplace ,但是如果F5刷新,或者get访问访问这个路由,浏览器就返回404了,我开始以为是服务器的问题,后来我用了IIS 和Tomcat都是一样的结果,请问你有遇到过吗?

PS:开发环境一点问题没有。

这个项目,Header顶部菜单和左侧菜单默认是false,即不固定时是正常的,当Header顶部菜单或者左侧菜单固定时,就会出问题,内容区和顶部菜单的左边会被覆盖住。这个项目真心很不错,辛苦

这个项目,Header顶部菜单和左侧菜单默认是false,即不固定时是正常的,当Header顶部菜单或者左侧菜单固定时,就会出问题,内容区和顶部菜单的左边会被覆盖住。这个项目真心很不错,辛苦

请问如何使用真实的后台api接口调试

刚接触vue不久,最近开始做一些练习。练习如何实现和真实后台api接口调试完成登录,也是花了几个小时的时间才搞懂一个叫vue-element-admin的登录模式。
回头看你这个大体上流程差不多,只是好几个地方实在是看不懂你这边的实现。话说ant design确实好看,所以还是想从这个项目去具体练习。
不知道是否可以讲解一下登录的实现原理,是否能提供一个交流沟通的地方方便求教!

性能优化

问题:目前访问系统比较慢,通过浏览器观察发现运行时app.js达到了21M

建议:当前先对项目中需要用到的组件按需加载。

怎么支持IE呢?

您好,请问怎么支持IE?当前项目启动后,不能再IE10~11下运行

Use new form

<template>
    <a-form @submit="handleSubmit" :form="form">
        <a-form-item
            label="标题"
            :labelCol="{lg: {span: 7}, sm: {span: 7}}"
            :wrapperCol="{lg: {span: 10}, sm: {span: 17} }">
            <a-input
                v-decorator="{
                    id: 'name',
                    options: {rules: [{ required: true, message: '请输入标题' }]}
                }"
                name="name"
                placeholder="给目标起个名字" />
        </a-form-item>

        <a-form-item
            label="起止日期"
            :labelCol="{lg: {span: 7}, sm: {span: 7}}"
            :wrapperCol="{lg: {span: 10}, sm: {span: 17} }">
            <a-range-picker
                name="buildTime"
                style="width: 100%"
                v-decorator="{
                    id: 'buildTime',
                    options: {rules: [{ required: true, message: '请选择起止日期' }]}
                }" />
        </a-form-item>
    </a-form>
</template>

<script>
  export default {
    data () {
      return {
        // form
        form: this.$form.createForm(this),
      }
    },
    methods: {
      // handler
      handleSubmit (e) {
        e.preventDefault()
        this.form.validateFields((err, values) => {
          if (!err) {
            // eslint-disable-next-line no-console
            console.log('Received values of form: ', values)
          }
        })
      }
    }
  }
</script>

[email protected]

文字错误

utils/helper/permission.js

'export': { key: 'import', label: '导入' }

应该是导出吧。

请问下表单子页面提交的问题

请问下,列表打开的子页面的确定按钮的点击事件如何通用绑定,我连确定都看不到,肯定是封装了,只是不知道如何实现,麻烦告知下。
1546854840 1

请教几个表单的问题

美女你好, 请教几个表单的问题:
1、标签无法格式化选中的日期,比如我需要的是“2019-01-10”,加上:format="dateFormat"只能控制页面上显示,无法控制提交后的结果,还是给我的 "2019-01-10T08:28:37.888Z"这种。
比如:
<a-form-item label="发布时间"> <a-date-picker v-model="queryParam.publishTime" name="publishTime" style="width: 100%" :format="dateFormat" /> </a-form-item>
2、绑定的值只能数字,中文汉字无效,纠结了半天,如果绑定了fieldDecoratorId,会导致vue加载单选框默认不选中,但是如果不给fieldDecoratorId,form就取不到值,原因未知。
比如:
<a-form-item label="性别" :labelCol="{lg: {span: 2}, sm: {span: 7}}" :wrapperCol="{lg: {span: 10}, sm: {span: 17} }" fieldDecoratorId="sex" :fieldDecoratorOptions="{rules: [{ required: true, message: '请选择出生日期' }]}" > <a-radio-group v-model="sex"> <a-radio :value="1">男</a-radio> <a-radio :value="2">女</a-radio> </a-radio-group> </a-form-item>
3、标签的defaultValue="movie" 无效。
比如:
<a-form-item label="兴趣爱好" :labelCol="{lg: {span: 2}, sm: {span: 7}}" :wrapperCol="{lg: {span: 10}, sm: {span: 17} }" fieldDecoratorId="like" :fieldDecoratorOptions="{rules: [{ required: false, message: '请选择兴趣爱好' }]}" > <a-select defaultValue="movie"> <a-select-option value="game">游戏</a-select-option> <a-select-option value="movie">电影</a-select-option> <a-select-option value="lvyou">旅游</a-select-option> </a-select> </a-form-item>
请问你们也遇到了吗?

请问生产环境如何在线换肤

请问生产环境如何在线换肤?

配置栏只在开发环境用于预览,生产环境不会展现,请手动修改配置文件 src/defaultSettings.js

谢谢美女

怎么设置一个一级菜单呢?

我想设置一个一级菜单,跳到一个PageView的页面。
但是把children都隐藏后,还是不行。。
最后我是另外又写了一个路由,把这个路由hidden,这个路由的children是我想跳的那个一级页面。
菜鸟问题。。

error here

image

should be ' if (error.response.status === 403) { '

我修复了一个bug

你好,我修复了一个bug。
在分页列表非第一页的情况删除当前页面所有数据,会导致上一页显示无数据。
1
2

代码:
在src\components\table\index.js 115行加上
`

                if (r.data.length == 0 && that.localPagination.current != 1) {
                    that.localPagination.current--;
                    that.loadData();
                    return;
                }

`

页面缩放的问题

a
如上图如果缩小页面,则显示/隐藏菜单的按钮消失,正常应该如下图所示:
b

首次进入界面时间太久了!

大佬, 首次进入界面虽然有加载动画, 可是感觉还是太久了。 可不可以修改成首次进入只加载菜单以及框架最外层的静态文件, 其他都等菜单和整体框框加载完毕, 再加载。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.