<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                表格內的列顯示為樹狀結構,可展開/收縮 >[info] 顯示效果 ![](https://img.kancloud.cn/86/2f/862fb60177a5c872cdd4547ee5be2c41_1051x502.png) >[info] 示例代碼 ``` <template> <div class="page-container"> <!--表格樹內容欄--> <el-table :data="goodsCatTreeData" element-loading-text="$t('action.loading')" size="mini" stripe style="width: 100%;" v-loading="loading"> <table-tree-column @sendTreeData="getTreeData" label="名稱" minWidth="280" prop="name" treeKey="id"></table-tree-column> </el-table> </div> </template> <script> import tableTreeColumn from '@/components/core/table_tree_column' export default { components: { tableTreeColumn }, data () { return { loading: false, goodsCatTreeData: [] } }, watch: { goodsCatTreeData: { // 深度監聽,可監聽到對象、數組的變化 handler (val, oldVal) { console.log(`goodsCatTreeData變化: ${oldVal ? oldVal.length : 0} -> ${val ? val.length : 0}`)// 但是這兩個值打印出來卻都是一樣的 }, deep: true } }, methods: { getTreeData (data) { if (data) { this.goodsCatTreeData = data } else { console.log('data 這空值') } }, } } </script> ``` >[info] 事件說明 ``` sendTreeData:事件回調,參數:data ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看