Commit f4bf8804 authored by 黄奎's avatar 黄奎

页面修改

parent 1a681ab3
...@@ -4,8 +4,18 @@ ...@@ -4,8 +4,18 @@
<template v-if="multiple"> <template v-if="multiple">
<q-select filled v-model="resultObj" :options="selectList" clearable @clear="clearData()" :label="tipText" <q-select filled v-model="resultObj" :options="selectList" clearable @clear="clearData()" :label="tipText"
:multiple="multiple" emit-value map-options> :multiple="multiple" emit-value map-options>
<template v-slot:option="scope"> <template v-slot:option="scope">
<q-item v-if="scope.index==0"> <q-item v-if="scope.index==-1">
<q-item-section>
<q-tree :nodes="treeData" :node-key="nodeKey" :label-key="labelKey" :children-key="childrenKey"
tick-strategy="strict" :default-expand-all="defaultExpandAll" no-connectors
:ticked.sync="chooseTreeNodeArray">
</q-tree>
</q-item-section>
</q-item>
</template>
<template v-slot:after-options>
<q-item>
<q-item-section> <q-item-section>
<q-tree :nodes="treeData" :node-key="nodeKey" :label-key="labelKey" :children-key="childrenKey" <q-tree :nodes="treeData" :node-key="nodeKey" :label-key="labelKey" :children-key="childrenKey"
tick-strategy="strict" :default-expand-all="defaultExpandAll" no-connectors tick-strategy="strict" :default-expand-all="defaultExpandAll" no-connectors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment