ui_migration fix(deps): --preliminary-- Removing deep:true from watchers that are not defined as arrays. Missing type hints in watchers.
This commit is contained in:
parent
0e6a0c17f4
commit
dfca0ff7e0
5 changed files with 17 additions and 9 deletions
|
|
@ -155,14 +155,14 @@ export default {
|
|||
handler(newval) {
|
||||
this.$emit("update:progress", newval);
|
||||
},
|
||||
deep: true,
|
||||
//deep: true,
|
||||
immediate: true // Optional: triggers immediately on component load
|
||||
},
|
||||
taskStarted: {
|
||||
handler(newval) {
|
||||
this.$emit("update:taskStarted", newval);
|
||||
},
|
||||
deep: true
|
||||
//deep: true
|
||||
},
|
||||
taskRunning: {
|
||||
handler(newval) {
|
||||
|
|
@ -180,7 +180,7 @@ export default {
|
|||
handler(newval) {
|
||||
this.$emit("update:taskStatus", newval);
|
||||
},
|
||||
deep: true
|
||||
//deep: true
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -60,11 +60,17 @@ export default {
|
|||
},
|
||||
|
||||
watch: {
|
||||
log: function () {
|
||||
this.scrollToBottom();
|
||||
log: {
|
||||
handler() {
|
||||
this.scrollToBottom();
|
||||
},
|
||||
deep: true,
|
||||
},
|
||||
taskStatus: function () {
|
||||
this.scrollToBottom();
|
||||
taskStatus: {
|
||||
handler() {
|
||||
this.scrollToBottom();
|
||||
},
|
||||
//deep: true,
|
||||
},
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ import ActionProgressBar from "./actionProgressBar.vue";
|
|||
import ActionLogDisplay from "./actionLogDisplay.vue";
|
||||
// vue3 migration
|
||||
import { markRaw } from "vue";
|
||||
import { eventBus } from "../../eventBus.js";
|
||||
|
||||
export default {
|
||||
name: "ActionStatusModal",
|
||||
|
|
|
|||
|
|
@ -216,13 +216,13 @@ export default {
|
|||
this.updateIsEdited();
|
||||
this.resetInternalValue();
|
||||
},
|
||||
deep: true,
|
||||
//deep: true,
|
||||
},
|
||||
internalValue: {
|
||||
handler() {
|
||||
this.updateIsEdited();
|
||||
},
|
||||
deep: true,
|
||||
//deep: true,
|
||||
},
|
||||
animate(updated) {
|
||||
if (updated) {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ export default {
|
|||
|
||||
watch: {
|
||||
src: {
|
||||
deep: true,
|
||||
immediate: true,
|
||||
handler(newVal) {
|
||||
this.loadOpenSeaDragon(newVal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue