tencentblueking / bkui-vue2 Goto Github PK
View Code? Open in Web Editor NEW根据蓝鲸前端规范、设计规范并结合我们业务开发过程中的积累沉淀,提供一套基础组件,供开发人员使用
License: Other
根据蓝鲸前端规范、设计规范并结合我们业务开发过程中的积累沉淀,提供一套基础组件,供开发人员使用
License: Other
【问题描述】
【add】提供一个指令能快速实现点击复制内容
组件库文档增加业务组件文档
https://www.npmjs.com/~blueking 里的均为我们的业务组件
没有往下展开
<template>
<bk-cascade
v-model="value"
:list="list"
clearable
filterable
style="width: 250px;"
@change="handleChange">
</bk-cascade>
</template>
<script>
export default {
data(s) {
return {
value: [],
list: [
{
id: 'hunan',
name: '湖南',
children: [
{
id: 'changsha',
name: '长沙',
},
{
id: 'yueyang',
name: '岳阳',
},
],
}, {
id: 'guangxi',
name: '广西',
}, {
id: 'yunnan',
name: '云南',
children: [
{
id: 'kunming',
name: '昆明',
children: [
{
id: 'wuhuaqu',
name: '五华区',
},
{
id: 'guanduqu',
name: '官渡区',
},
{
id: 'xishanqu',
name: '西山区',
},
],
},
{
id: 0,
name: '大理',
},
{
id: '',
name: '玉溪',
},
],
},
],
}
},
methods: {
handleChange(newValue, oldValue, selectList) {
console.log(newValue, oldValue, selectList)
},
},
}
</script>
【问题描述】
【add】加载中组件,用于显示记录状态等场景
【问题描述】
【bug】级联选择器,在 :filter="true" 条件下,对级联选择器赋予初值之后,下拉选项会自动展开,且初值无法展示,但点击级联选择器的输入框后初值会重新展示出来
test
是BUG反馈
还是需求提交
(Is this a BUG REPORT or FEATURE REQUEST)? (choose one):
PaaS/PaaSAgent版本(The versions used):
发生了什么(What happened):
期望是什么(What you expected to happen):
如何复现(How to reproduce it):
相关的日志详情(访问日志及应用日志: paas.log/login.log/esb.log/esb_api.log)和截图等(Log & Screenshot):
备注(Anything else we need to know):
【问题描述】
【feature】不包裹任何元素,独立使用
<bk-cascade
v-model="value"
:list="facList"
clearable
filterable
check-any-level
style="width: 250px;"
@change="handleChange">
当属性filterable check-any-level共同设置的时候,在搜索框里输入关键词查询然后选中某一个值的时候内存溢出,网页会崩溃
是BUG反馈
还是需求提交
(Is this a BUG REPORT or FEATURE REQUEST)? (choose one):
BUG反馈
PaaS/PaaSAgent版本(The versions used):
NO
发生了什么(What happened):
表单里面的select,我的trigger设置成change,点清空的时候没有触发校验
searchSelect 设置成blur或者change,选择失去焦点都不会触发校验
期望是什么(What you expected to happen):
这些项目能够正常触发校验
如何复现(How to reproduce it):
表单里添加select组件,设置校验规则为 必须 ,触发条件 为 change。点清空
表单里添加searchSelect组件,设置校验规则为 必须 ,触发条件 为 blur或者change。添加一些项目,然后清空,失去焦点
相关的日志详情(访问日志及应用日志: paas.log/login.log/esb.log/esb_api.log)和截图等(Log & Screenshot):
NO
备注(Anything else we need to know):
NO
是BUG反馈
还是需求提交
(Is this a BUG REPORT or FEATURE REQUEST)? (choose one):
PaaS/PaaSAgent版本(The versions used):
发生了什么(What happened):
期望是什么(What you expected to happen):
如何复现(How to reproduce it):
相关的日志详情(访问日志及应用日志: paas.log/login.log/esb.log/esb_api.log)和截图等(Log & Screenshot):
备注(Anything else we need to know):
Dialog组件同时设置v-if,v-model,关闭的时候会报错
【问题描述】
【add】快速选择**城市,常用于地图等基于位置的城市选择场景
不是知道是不是这样设计的... 总感觉哪里怪怪的....
是BUG反馈
还是需求提交
(Is this a BUG REPORT or FEATURE REQUEST)? (choose one):
BUG反馈
PaaS/PaaSAgent版本(The versions used):
无
发生了什么(What happened):
bk-button 当 text=true时,theme选项会失效
期望是什么(What you expected to happen):
当text=true时,theme的danger等变色选项也应该生效
如何复现(How to reproduce it):
相关的日志详情(访问日志及应用日志: paas.log/login.log/esb.log/esb_api.log)和截图等(Log & Screenshot):
备注(Anything else we need to know):
```json
this.list = [
{
id: 32823,
name: 'gsdk',
children: [
{
id: 227461,
name: 'cache',
},
{
id: 227462,
name: 'cloud_control',
},
{
id: 591213,
name: 'h5https',
},
{
id: 227463,
name: 'Speed',
},
],
},
{
id: 52400,
name: 'idip_cmd_redis',
children: [
{
id: 591214,
name: 'h5https',
},
{
id: 421283,
name: 'Speed',
},
{
id: 421281,
name: 'cache',
},
{
id: 421282,
name: 'cloud_control',
},
],
},
{
id: 66760,
name: 'cloud_logsvr',
children: [
{
id: 591212,
name: 'h5https',
},
{
id: 489871,
name: 'Speed',
},
{
id: 489869,
name: 'cache',
},
{
id: 489870,
name: 'cloud_control',
},
],
},
{
id: 72130,
name: 'GEMlogsvr',
children: [
{
id: 511244,
name: 'logsvr',
},
],
},
{
id: 89165,
name: 'GEM开发编译',
children: [
{
id: 564955,
name: '蓝盾编译',
},
],
},
{
id: 93047,
name: 'GEM服务号',
children: [
{
id: 603742,
name: 'image',
},
{
id: 603743,
name: 'modelTrain',
},
],
},
{
id: 32822,
name: 'gem端游',
children: [
{
id: 227459,
name: 'proxy',
},
{
id: 235843,
name: 'spark',
},
{
id: 227460,
name: 'spider',
},
],
},
{
id: 94139,
name: 't_bot文档',
children: [
{
id: 626613,
name: 'server',
},
{
id: 626612,
name: 'proxy',
},
],
},
{
id: 95507,
name: 'tgem管理机',
children: [
{
id: 661187,
name: 'logsvr',
},
],
},
{
id: 5003813,
name: 'gem服务节点',
children: [
{
id: 5007455,
name: 'server',
},
],
},
{
id: 108443,
name: '服务集群',
children: [
{
id: 924194,
name: 'pod',
},
{
id: 925920,
name: 'master',
},
],
},
{
id: 110423,
name: '天美编译加速',
children: [
{
id: 973877,
name: 'UE4编译加速',
},
{
id: 973878,
name: 'Unity编译加速',
},
],
},
];
/* this.list = [
{
id: '32823',
name: 'gsdk',
children: [
{
id: '227461',
name: 'cache',
},
{
id: '227462',
name: 'cloud_control',
},
{
id: '591213',
name: 'h5https',
},
{
id: '227463',
name: 'Speed',
},
],
},
{
id: '52400',
name: 'idip_cmd_redis',
children: [
{
id: '591214',
name: 'h5https',
},
{
id: '421283',
name: 'Speed',
},
{
id: '421281',
name: 'cache',
},
{
id: '421282',
name: 'cloud_control',
},
],
},
{
id: '66760',
name: 'cloud_logsvr',
children: [
{
id: '591212',
name: 'h5https',
},
{
id: '489871',
name: 'Speed',
},
{
id: '489869',
name: 'cache',
},
{
id: '489870',
name: 'cloud_control',
},
],
},
{
id: '72130',
name: 'GEMlogsvr',
children: [
{
id: '511244',
name: 'logsvr',
},
],
},
{
id: '89165',
name: 'GEM开发编译',
children: [
{
id: '564955',
name: '蓝盾编译',
},
],
},
{
id: '93047',
name: 'GEM服务号',
children: [
{
id: '603742',
name: 'image',
},
{
id: '603743',
name: 'modelTrain',
},
],
},
{
id: '32822',
name: 'gem端游',
children: [
{
id: '227459',
name: 'proxy',
},
{
id: '235843',
name: 'spark',
},
{
id: '227460',
name: 'spider',
},
],
},
{
id: '94139',
name: 't_bot文档',
children: [
{
id: '626613',
name: 'server',
},
{
id: '626612',
name: 'proxy',
},
],
},
{
id: '95507',
name: 'tgem管理机',
children: [
{
id: '661187',
name: 'logsvr',
},
],
},
{
id: '5003813',
name: 'gem服务节点',
children: [
{
id: '5007455',
name: 'server',
},
],
},
{
id: '108443',
name: '服务集群',
children: [
{
id: '924194',
name: 'pod',
},
{
id: '925920',
name: 'master',
},
],
},
{
id: '110423',
name: '天美编译加速',
children: [
{
id: '973877',
name: 'UE4编译加速',
},
{
id: '973878',
name: 'Unity编译加速',
},
],
},
];*/
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.