提交 b13a4b01 编写于 作者: JEECG低代码平台's avatar JEECG低代码平台

选取职务名称出现全选 #1753

切换导航模式,导致菜单栏丢失 #1763
上级 075c3532
......@@ -209,6 +209,11 @@
immediate: true,
deep: true,
handler(val) {
//update--begin--autor:scott-----date:20200927------for:选取职务名称出现全选 #1753-----
if(this.innerValue){
this.innerValue.length=0;
}
//update--end--autor:scott-----date:20200927------for:选取职务名称出现全选 #1753-----
this.selectedTable.dataSource = val.map(key => {
for (let data of this.dataSource) {
if (data[this.rowKey] === key) {
......@@ -308,6 +313,8 @@
//update--begin--autor:wangshuai-----date:20200722------for:JSelectBizComponent组件切换页数值问题------
this.selectedTable.dataSource.splice(this.selectedTable.dataSource.indexOf(record), 1)
this.innerValue.splice(this.innerValue.indexOf(record[this.valueKey]), 1)
console.log("this.selectedRowKeys:",this.selectedRowKeys)
console.log("this.selectedTable.dataSource:",this.selectedTable.dataSource)
//update--begin--autor:wangshuai-----date:20200722------for:JSelectBizComponent组件切换页数值问题------
},
......
......@@ -3,7 +3,7 @@
<template v-if="layoutMode === 'sidemenu'">
<a-drawer
v-show="device === 'mobile'"
v-if="device === 'mobile'"
:wrapClassName="'drawer-sider ' + navTheme"
placement="left"
@close="() => this.collapsed = false"
......@@ -13,7 +13,6 @@
>
<side-menu
mode="inline"
v-if="device === 'mobile'"
:menus="menus"
@menuSelect="menuSelect"
:theme="navTheme"
......@@ -22,7 +21,7 @@
</a-drawer>
<side-menu
v-if="device === 'desktop'"
v-else
mode="inline"
:menus="menus"
@menuSelect="myMenuSelect"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册