hejianhao
2025-04-23 10f94693e4bf60c34e5514a1f1e3d44c8ba4d84a
src/components/EvaluateTable/index.vue
@@ -151,14 +151,11 @@
        },
        viewJson: {
            handler(newVal, oldVal) {
                console.log("viewJson changed:", newVal)
                if (newVal && this.isReadonly) {
                    try {
                        const parsedData = JSON.parse(newVal)
                        this.activeIndex = parsedData
                        console.log("activeIndex updated:", this.activeIndex)
                    } catch (e) {
                        console.error("Failed to parse viewJson:", e)
                    }
                }
            },