ui_migration fix(deps): --Preliminary-- Define reactivity, with markRaw function wrapper for components.
This commit is contained in:
parent
fc96ae94f8
commit
6e14bf1dd0
40 changed files with 191 additions and 96 deletions
|
|
@ -28,10 +28,14 @@
|
|||
<script>
|
||||
import ActionProgressBar from "./actionProgressBar.vue";
|
||||
import ActionStatusModal from "./actionStatusModal.vue";
|
||||
import { markRaw } from "vue";
|
||||
|
||||
export default {
|
||||
name: "ActionButton",
|
||||
components: { ActionProgressBar, ActionStatusModal },
|
||||
components: {
|
||||
ActionProgressBar: markRaw(ActionProgressBar),
|
||||
ActionStatusModal: markRaw(ActionStatusModal)
|
||||
},
|
||||
|
||||
props: {
|
||||
action: {
|
||||
|
|
@ -161,7 +165,7 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
beforeUnmount() {
|
||||
if (this.submitOnEvent) {
|
||||
this.$root.$off(this.submitOnEvent);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -28,11 +28,15 @@
|
|||
import UIkit from "uikit";
|
||||
import ActionProgressBar from "./actionProgressBar.vue";
|
||||
import ActionLogDisplay from "./actionLogDisplay.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
|
||||
export default {
|
||||
name: "ActionStatusModal",
|
||||
components: { ActionProgressBar, ActionLogDisplay },
|
||||
|
||||
components: {
|
||||
ActionProgressBar: markRaw(ActionProgressBar),
|
||||
ActionLogDisplay: markRaw(ActionLogDisplay)
|
||||
},
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
|
|
|
|||
|
|
@ -100,12 +100,14 @@
|
|||
|
||||
<script>
|
||||
import syncPropertyButton from "./syncPropertyButton.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
|
||||
export default {
|
||||
name: "InputFromSchema",
|
||||
|
||||
components: {
|
||||
syncPropertyButton,
|
||||
syncPropertyButton: markRaw(syncPropertyButton),
|
||||
},
|
||||
|
||||
props: {
|
||||
|
|
|
|||
|
|
@ -13,12 +13,14 @@
|
|||
<script>
|
||||
import { formatValue } from "@/js_utils/formatter.mjs";
|
||||
import InputFromSchema from "./inputFromSchema.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
|
||||
export default {
|
||||
name: "PropertyControl",
|
||||
|
||||
components: {
|
||||
InputFromSchema,
|
||||
InputFromSchema: markRaw(InputFromSchema),
|
||||
},
|
||||
|
||||
props: {
|
||||
|
|
|
|||
|
|
@ -17,13 +17,15 @@
|
|||
|
||||
<script>
|
||||
import ActionButton from "./actionButton.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
|
||||
// Export main app
|
||||
export default {
|
||||
name: "ServerSpecifiedActionButton",
|
||||
|
||||
components: {
|
||||
ActionButton,
|
||||
ActionButton: markRaw(ActionButton),
|
||||
},
|
||||
|
||||
props: {
|
||||
|
|
|
|||
|
|
@ -11,13 +11,15 @@
|
|||
|
||||
<script>
|
||||
import PropertyControl from "./propertyControl.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
|
||||
// Export main app
|
||||
export default {
|
||||
name: "ServerSpecifiedPropertyControl",
|
||||
|
||||
components: {
|
||||
PropertyControl,
|
||||
PropertyControl: markRaw(PropertyControl),
|
||||
},
|
||||
|
||||
props: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue