第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

vue-dragging --使用問題

vue-dragging --使用問題

富國(guó)滬深 2019-03-23 18:14:14
<script>export default {data () {return {    colors: [{        text: "Aquamarine"    }, {        text: "Hotpink"    }, {        text: "Gold"    }, {        text: "Crimson"    }, {        text: "Blueviolet"    }, {        text: "Lightblue"    }, {        text: "Cornflowerblue"    }, {        text: "Skyblue"    }, {        text: "Burlywood"    }]}}}</script><div class="color-list"><div     class="color-item"     v-for="color in colors" v-dragging="{ item: color, list: colors, group: 'color' }"    :key="color.text">{{color.text}}</div></div>export default {mounted () {this.$dragging.$on('dragged', ({ value }) => {  console.log(value.item)  console.log(value.list)  console.log(value.otherData)})this.$dragging.$on('dragend', () => {    })}}但是如果數(shù)據(jù)結(jié)構(gòu)是下面這種該如何排序?data:[  {    name: '財(cái)務(wù)數(shù)據(jù)分析',    children: [      {        name: '工資',        path: '/nav/dashboard/dash1'      }, {        name: '報(bào)銷',        path: '/nav/dashboard/dash2'      }    ]  },
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 766 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)