dev
e 3 years ago
parent c506e3baa3
commit 6266a6a287
  1. 3
      src/views/data/Product.vue

@ -82,7 +82,7 @@
</el-form-item>
<el-form-item label="已选数据">
<el-button type="primary" @click="configData">配置数据权限</el-button>
<div class="type-wrap" ref="typeWrap" @scroll="loadType">
<div class="type-wrap" ref="typeWrap" @scroll="loadType" v-if='configChecked.length>0'>
<el-tree ref="type" :data="typeList" show-checkbox accordion node-key="id" :default-expanded-keys="checkedIds" :default-checked-keys="checkedIds" :props="defaultProps" @node-expand="typeExpand">
<span class="custom-tree-node" slot-scope="{ node, data }">
<span :title="node.label">{{ node.label }}</span>
@ -356,7 +356,6 @@ export default {
if(!curExpand){
let id = this.checkedIds[0]
let list = this.typeList
function handleId(data,parentId){
data.map(n => {
if(n.id == id){

Loading…
Cancel
Save