Relative Content

Tag Archive for vue.js

Monaco-Editor The page is blocked in vue. Procedure

https://stackblitz.com/~/github.com/Xiangzi529/vue3-monaco-editor?file=src/App.vue
You can view my bug at this address. Opening 339 lines of comments or 340 lines will cause the page to freeze ,
I can use the deltaDecorations method correctly in Vue2 to add content, but it doesn’t work in Vue3. I have tried to freeze the page directly in versions 0.33.0 and 0.48.0

How do you dynamically add computed properties into a Vue component?

I have a form that has many fields. Depending on the type selected by the user some fields should be visible or not visible. I want to use computed properties to conditionally show and hide the fields, but I do not want to code each property as there are many. I’d rather programmatically create the computed properties from an array of field names. My attempt to do this is below but did not work. What am I doing wrong?

Binding value to multiple switches vue.js

I am trying to get different configs with the same ID to mirror each other through el-switches. What I will type below is only a portion of the template and script but I will happily provide more context if needed. The code I have right now is as follows: