vue-component

    1熱度

    1回答

    我用於獲取JSON數據並顯示地圖vueJS腳本 <script> new Vue({ el: '#feed' , data: { data: [], }, mounted() { this.$nextTick(function() { var self = this; var id = window.

    0熱度

    1回答

    我使用這個庫VUE-通知:https://github.com/cristijora/vue-notifyjs 上述頁面狀態的文檔:component: { //is rendered instead of notification message因此我想給它動力組件,這樣我可以處理自定義事件。這是我的代碼: Vue.use(vueNotifyjs) new Vue({ el: '#a

    0熱度

    1回答

    我想從{{ columnValue }}中刪除category_id,但是最好的辦法是什麼,因爲我需要在第一部分中使用category_id? <table> <tr> <td v-for="columnValue, column in record"> <template v-if="editing.id === record.id && isUpdatable(

    1熱度

    1回答

    我正在嘗試在我的項目中使用Vue ToolTip。我可以成功地在我的頁面上工作,但是,它不適用於我的模態彈出頁面。 我已經在這裏創造一個小提琴:https://jsfiddle.net/bkw28n9h/ 在此琴有最多顯示工具提示懸停在頁面上Tooltip文本。但是,當點擊任何列表項目時,模態彈出窗口上也會出現一個工具提示。彈出模式彈出的工具提示不會顯示在懸停上。這是爲什麼? 我添加工具提示指令是

    -1熱度

    2回答

    我需要一個vue響應式圖像網格組件,以顯示不同大小的圖像。有一些很好的jquery plugins,但我不能在我的基於vue的頁面中使用它,因爲滾動中圖像的延遲加載。 jquery只在初始頁面加載時設置高度和寬度。有沒有好的組件或解決方案來使用jquery插件?

    0熱度

    1回答

    我想給Accordion組件與車身的過渡整合,但沒有成功:(所有的工作,以及除動畫 模板:。 <div class="accordion"> <div class="accordion-title" @click="isOpen = !isOpen" :class="{'is-open': isOpen}"> <span>{{title}}</span> <i c

    1熱度

    1回答

    我想混合vuejs單個文件組件與正常樣式的組件(不知道它們被稱爲),我已經開發了現有的代碼。 main.js import Vue from 'vue' import test from './test.vue' import VueMaterial from 'vue-material' Vue.use(VueMaterial) new Vue({ el: '#app',

    0熱度

    1回答

    我使用V-具有自定義組件 Vue.component('lineitem', { template: '#lineitem-template', props: { item: { required: false, default: null }, }, computed: { local_line_ite

    0熱度

    1回答

    我很難編寫一個全局方法來檢查NuxtJS中的驗證。我可以編寫的方法v-if在組件中顯示,如果它返回True。 我把這段代碼放在layout/default.vue中,但它不起作用。 /layout/defaut.vue <script> import '~/assets/icons' export default { head() { return !this.mobile

    0熱度

    1回答

    我來自一個角度的心態,現在我想學習vue.js.我正在使用webpack,並且我有以下三個.vue類。 CounterDisplay.vue,IncrementButton.vue , and App.vue . I want to increment the count variable but all it does is console.log how many times I presse