Code Monkey home page Code Monkey logo

viewui's People

Contributors

baoyx007 avatar chjtx avatar debugisfalse avatar gitleonine1989 avatar hezhiying avatar huanghong1125 avatar icarusion avatar jhh678 avatar jingsam avatar kovjogin avatar luffyzhao avatar lwyj123 avatar mahmoudzohdi avatar miomio-xiao avatar msidolphin avatar muei avatar natjnp avatar ndrshn avatar oyv1cent avatar rajnikant307 avatar rijn avatar sergiocrisostomo avatar tabenter avatar vincentfintend avatar weidapao avatar weightbomb avatar xotic750 avatar yan170772286 avatar yangdan8 avatar yikaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

viewui's Issues

[Feature Request]表格单选类似实现checkbox形式

What problem does this feature solve?

此版本单选不明显,而且还需要利用render函数实现Radio单选功能,比较麻烦,希望可以像checkbox,在每一行前面添加一个Radio单选框

What does the proposed API look like?

类似checkbox 实现方式添加type

[Feature Request]Update Ionicons to 4.x

What problem does this feature solve?

Ionicons 4 has some new icons that we need for our project.
Please update it to latest version so we can use it.

What does the proposed API look like?

Same as before.

Cascader 级联选择的选择即改变和搜索结合的问题

What problem does this feature solve?

设置属性 change-on-select 点任何一级都可以选择,那如果进行搜索一级或者二级的时候,应该将当前的级别也显示让用户选择,而不是搜索的结果都是到最后一级。

What does the proposed API look like?

比如选择公司的组织架构时,我想搜索部门并且只选择到部门,而部门下面还有小组之类的,那就无法直接选择到部门了,具体可以参考element的级联选择组件:https://element.eleme.cn/2.1/#/zh-CN/component/cascader#events
最后希望iview能越来越好!

[Bug Report]Table组件中表头对齐问题与Tooltip显示不全问题

Environment

Mac、Winodws / Chrome / 2.6.10

Reproduction link

https://run.iviewui.com/1S9gecL7

Steps to reproduce

有固定列时,同时其他列表头有其他图标如排序、筛选,其他列长度不够时,导致表头换行,表格表头为对齐,出现错行。
当Tooltip内容为英文或字符时,未换行显示完整。

What is expected?

表头对齐、Tooltip内容显示完整

What is actually happening?

表头未对齐、Tooltip内容为英文时未显示完整


WX20191016-111938@2x.png
WX20191016-111915@2x.png

[Bug Report]Edge浏览器兼容问题,报错Expected identifier, string or number

Environment
Windows 10 专业版最新版本;默认Edge浏览器;
"dependencies": {
"axios": "^0.19.0",
"clipboard": "^2.0.4",
"core-js": "^2.6.5",
"dayjs": "^1.8.16",
"imagemin-webpack-plugin": "^2.4.2",
"view-design": "^4.0.0",
"js-cookie": "^2.2.1",
"qrcode": "^1.4.2",
"vue": "^2.6.10",
"vue-awesome-swiper": "^3.1.3",
"vue-router": "^3.0.7",
"vuex": "^3.0.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.11.0",
"@vue/cli-plugin-eslint": "^3.11.0",
"@vue/cli-service": "^3.11.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-import": "^1.12.1",
"eslint": "^5.16.0",
"eslint-plugin-vue": "^5.0.0",
"sass": "^1.18.0",
"sass-loader": "^7.1.0",
"vue-cli-plugin-pug": "^1.0.7",
"vue-template-compiler": "^2.6.10"
},

Reproduction link
项目还未上线,没有链接

What is expected?
页面空白,控制台报错:Expected identifier, string or number

老版本"iview": "^3.5.1"正常

I view Radio , is get selection on load the page

hello , I have this code

 <Radio v-model="form.payment_type" :value="'card'" size="large" >Card</Radio>

   data(){
            return {
               form:{payment_type:'card' }
          }
}

It should start with card , selected , but is not started selected when I load the page.
=/

[Bug Report]拆分单元格后,无法使用fixed了,否则就会导致无法拆分,Iview4.0,目前发现这个Bug

Environment

拆分单元格后,无法使用fixed了,否则就会导致无法拆分,Iview4.0,目前发现这个Bug

Reproduction link

https://run.iviewui.com/Ex7Izf7v

Steps to reproduce

拆分单元格后,无法使用fixed了,否则就会导致无法拆分,Iview4.0,目前发现这个Bug

What is expected?

拆分单元格后,无法使用fixed了,否则就会导致无法拆分,Iview4.0,目前发现这个Bug

What is actually happening?

拆分单元格后,无法使用fixed了,否则就会导致无法拆分,Iview4.0,目前发现这个Bug

[Bug Report]modal

Environment

vue3.0

Reproduction link

https://run.iviewui.com/XgxJB14E

Steps to reproduce

:visible.sync="modal1" 更改为 :value.sync="modal1"

What is expected?

visible可以控制组件的显示与隐藏

What is actually happening?

不能控制,源码中props传值为value,并非旧版本中的visible


最新版本的引入应为 import iView from 'view-design' 而不是旧版本的 import iView from 'iview';新版本文档更新不及时

[Bug Report]Select remote set value of select and then leave focus

Environment

vue 3 iview 4

Reproduction link

https://jsfiddle.net/h9qbm160/

Steps to reproduce

Press set values button and then move the steps several times forward and backward.

What is expected?

Select to keep the value setted in v-model

What is actually happening?

It is setting the id of option into the label


This is required when editing some records from database and must set the initial value. My case is when I press edit on some table row, I open a new modal with this selects and need to fill the values selected from database... [email protected]

[Bug Report]在FormItem中使用Select,调用表单resetFields方法触发重置会导致表单校验出错

Environment

windows 10 / chrome 77.0.3865.120 / vue 2.6.10

Reproduction link

https://run.iviewui.com/uiOZlvQn

Steps to reproduce

  1. 选择SELECT中选项测试1
  2. 点击清空按钮
  3. 点击清空按钮

What is expected?

  1. 绑定的region属性不消失
  2. 表单重置不应该提示校验信息

What is actually happening?

  1. 绑定的region属性消失了
  2. 表单重置提示了校验信息

第一次点击清空按钮,绑定的region属性消失了
第二次点击清空按钮,绑定的region属性又被加上了

[Bug Report]Form组件内嵌套 InputNumber ,max属性失效

Environment

chorme/77.0.3865.90/2.6.10

Steps to reproduce

Form组件内嵌套 InputNumber,设置max或者不设置,输入的数据可以无限大

What is expected?

限制到max的目标

What is actually happening?

输入的数据可以无限大


这个是本地开发出来的bug,但是跟环境肯定没关系

[Feature Request]Empowerment this.$Modal.confirm

What problem does this feature solve?

I want to add "this.modal.open()". API to Modal, without icons, with hideFooter, maskClosable and other props.
This will allow you to call modal windows from methods, rather than a template. And use a single api and have a callback in code.
I can make such a pull request.

What does the proposed API look like?

this.$modal.open({
title: 'title',
render: (h) => h(MyComponent), ()
maskClosable: true,
hideFooter: true
})

Hide footer because in component has custom buttons. They have validation state.
I am surprised that "maskСlosable" is not supported by default

[Bug Report]Table组件,标签页切换后,多选有bug

Environment

Windows 10 专业版/chrome 75.0.3770.100(正式版本)(64 位)/Vue2.6.10

Reproduction link

http://localhost:8080/在我们后台系统,真实链接不方便展示

Steps to reproduce

比如有两个标签页, 页面内容是table表格,数据是异步渲染出来的。

在第一个标签页内选中某行, 然后切换到第二个标签页, 再切换回第一个标签页,数据重新请求,table重新渲染。

虽然页面展示中没看到有选中的行, 但实际上第一次的选中还在。 如果有其他操作,还是操作的第一次选中的行!

What is expected?

页面展示没选中, 就是真正的没选中。 尽量不要这样误导用户,这样很容易误操作。

What is actually happening?

页面展示没选中, 实际有选中。 并且可操作选中数据。

AutoComplete组件报错

错误打印如下:
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'transfer' of undefined"
vue版本:2.6.10

[Bug Report]TimePicker赋值时间戳显示异常

Environment

Windows 10 / Chrome 77.0.3865.90 / ^2.6.10

Reproduction link

https://run.iviewui.com/s4JJlGvI

Steps to reproduce

  1. TimePicker 不设置format
  2. TimePicker 设置format为‘HH:mm’
  3. TimePicker 设置format为‘HH:mm:ss’

分别用相同的时间戳给value赋值,显示的值不同。

What is expected?

设置format后显示的值正确

What is actually happening?

设置format后显示的值不正确

能否解决下官网点击菜单页面跳的问题

MacHi 2019-11-15 13-01-38

Environment mac

Reproduction link

官网 https://www.iviewui.com/docs/introduce

Steps to reproduce
例如:点击左侧的菜单,先点击[介绍],再[Transfer 穿梭框]或者其他菜单,你会发现左侧菜单再最上面了,虽然算不上bug,体验不够友好,希望左侧菜单是固定的,不要随右边的跳来跳去

What is expected?

记忆跳转之前的位置

What is actually happening?

菜单随页面跳转,不能记忆跳转之前的位置,体验不够友好

表头拖拽事件on-column-width-resize参数错误

文档中描述,on-column-width-resize第一个参数为新宽度,经测试为旧宽度,查看源码可以看到
`const handleMouseUp = () => {
if (this.dragging) {
const {
startColumnLeft,
startLeft
} = this.dragState;

                        const finalLeft = parseInt(resizeProxy.style.left, 10);
                        const columnWidth = finalLeft - startColumnLeft;

                        const _column = table.columns.find(item => item.__id === column.__id);
                        if (_column) _column.width = columnWidth;
                        table.$emit('on-column-width-resize', column.width, startLeft - startColumnLeft, column, event);

                        document.body.style.cursor = '';
                        this.dragging = false;
                        this.draggingColumn = null;
                        this.dragState = {};

                        table.showResizeLine = false;

}`
$emit处应该是_column.width

[Bug Report]DatePicker format

Environment

Windows 10 / Chrome 77.0.3865.90 / ^2.6.10

Reproduction link

https://run.iviewui.com/Kx9nJik5

Steps to reproduce

  1. DatePicker 不设置format
  2. DatePicker 设置format为‘HH:mm’
  3. DatePicker 设置format为‘HH:mm:ss’

分别用相同的时间戳给value赋值,显示的值不同。

What is expected?

设置format后显示的值正确

What is actually happening?

设置format后显示的值不正确


官方文档为什么没有type="time"了?

[Bug Report]Select组件或DatePicker组件 和Dropdown组件同时存在时,Dropdown组件下拉内容无法鼠标拖动滚动条,会直接触发clickouside

Environment

win10/Chrome/vue2.6

Reproduction link

https://run.iviewui.com/z72Kgfu4

Steps to reproduce

Select组件或DatePicker组件 和Dropdown组件同时存在时,Dropdown组件下拉内容无法鼠标拖动滚动条,会直接触发clickouside
EN:When a Select component or a DatePicker component and a Dropdown component exist at the same time, the Dropdown component drop-down content cannot drag the scroll bar with the mouse, which triggers clickouside directly.

What is expected?

Select组件或DatePicker组件 和Dropdown组件同时存在时,Dropdown组件下拉内容可以通过鼠标下拉拖动滚动条
EN:When a Select component or a DatePicker component coexists with a Dropdown component, Dropdown component drop-down content can be dragged and scrolled through the mouse.

What is actually happening?

Select组件或DatePicker组件 和Dropdown组件同时存在时,Dropdown组件下拉内容无法鼠标拖动滚动条,会直接触发clickouside
EN:When a Select component or a DatePicker component and a Dropdown component exist at the same time, the Dropdown component drop-down content cannot drag the scroll bar with the mouse, which triggers clickouside directly.

[Bug Report]Table组件固定列偏移

Environment

Win10 搜狗浏览器 Vue2.5

Reproduction link

https://jsfiddle.net/t6g1mk84/

Steps to reproduce

刚开始固定列正常,但是反复经过一些操作(如使用this.data=[]更新全部或使用this.$set(this.data, rowindex, rowdata)更新某一行)后,固定列逐渐偏移,出现明显的bug

What is expected?

固定列能够正常

What is actually happening?

固定列偏移

[Bug Report]【Select】组件 【filter】属性bug

Environment

任何环境都是这样

Reproduction link

https://run.iviewui.com/G1hcIv0X

Steps to reproduce

1.比如展开下拉框 选择 new york
2. 点击输入框 删除new york 搜索 parise
3. 点击输入框外部失去焦点
4. 点击输入框 发现下拉选项 只有new york 一项了

What is expected?

最后点击应该是完整得下拉选项

What is actually happening?

实际只有第一次你选择的一个下拉选项

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.