cost 125 ms
從組件外部打開一個 modal 的 vue-js-modal

[英]Open a modal of vue-js-modal from outside a component

我們在我們的項目中使用vue-js-modal ,我想從不在 vue 組件中的代碼中打開一個模式。 該文檔僅說明如何使用組件中的 API。 有一種方法可以從任何地方操作vue-js-modal ? X 問題,當router.onError((error)=>...)中發生路由器錯誤時,我想 ...

Vue awesome swiper 在 vue js modal 插件中無法正常工作

[英]Vue awesome swiper not work properly in vue js modal plugin

我正在使用vue-js-modal進行產品快速查看,並且我正在嘗試使用vue-awesome-swiper創建一個圖片庫,但問題出在這個模態圖片庫之外工作正常,因為我在方面但在模態插件里面顯示錯誤且無法正常工作 我沒有找到關於這個主題的任何解決方案,請幫助我任何人我的代碼如下<template ...

Vue:從父級獲取數據<slot></slot>

[英]Vue: Get data from parent in <slot>

我不知道我想要的是否能以我想要的方式實現。 我正在為模態使用這個 Vue 插件: https://www.npmjs.com/package/vue-js-modal 我有一個名為ModalButton的組件,它負責觸發模式: 如您所見,我將:modal-data作為道具發送。 ModalButt ...

如何避免 Intellij IDEA 中的“Attribute vb-modal is not allowed here”警告?

[英]How can I avoid the “Attribute v-b-modal is not allowed here” warning in Intellij IDEA?

在 Vue.js 項目中,我正在學習使用 BootstrapVue 中的模態。 在我的代碼中,我有一個Items.vue文件,內容如下: 它運作良好。 但是,帶有 Vue.js 插件的 Intellij IDEA 不斷發出警告: 警告:(15, 5) 此處不允許使用屬性 vb-modal thr ...

使用 vue-js-modal 如何將數據傳回父組件

[英]Using vue-js-modal how do I pass data back up to the parent component

https://github.com/euvl/vue-js-modal#readme 我已經搜索了文檔,但找不到適合我需要的示例。 我還搜索了堆棧溢出,但沒有找到與我匹配的示例。 我在這里嚴格詢問父組件和模態組件之間的交互。 你可以假設我所有的導入都是正確的。 為簡潔起見,我省略了一些代碼(例如 ...


排序:
質量:
 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM