语义Ui dropdown()绑定到Vue v-对于动态创建的dropdownlist无效

时间:2019-05-06 14:52:30

标签: javascript vue.js semantic-ui

<div class="form-group my-style" v-for="(obj, ind) journalDetailViewModels">
    <div class="ui floating dropdown labeled search icon button form-control deposittop">
        <i class="diamond large-icon icon"></i>
            <span class="text  withdrawal">To which Account</span>
                <div class="menu">
                    <div class="item withdrawal" v-for="(value, key) in ChartOfAccount" v-on:click="obj.ChartOfAccountId = value.id"> 
                    </div>
            </div>
        </div>
</div>

<script>

              $(".deposittop").dropdown();


</script>

0 个答案:

没有答案