From 7fac76af0b3c0f320c0478e8150cc4ec943d4a0f Mon Sep 17 00:00:00 2001 From: qianxj <qianxj15@sina.com> Date: 星期二, 21 三月 2023 11:46:44 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/smartor-web --- ruoyi-ui/src/views/smartor/svytopic/maint.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/smartor/svytopic/maint.vue b/ruoyi-ui/src/views/smartor/svytopic/maint.vue index 6037b99..b1d00b7 100644 --- a/ruoyi-ui/src/views/smartor/svytopic/maint.vue +++ b/ruoyi-ui/src/views/smartor/svytopic/maint.vue @@ -7,7 +7,7 @@ <script> import { listSvytopic, getSvytopic, delSvytopic, addSvytopic, updateSvytopic } from "@/api/smartor/svytopic"; import dw_base from "@/smartor/dataobject/dw_svytopic_maint.vue"; - import dw_detail from "@/smartor/dataobject/dw_svytopicoption_maint.vue"; + import dw_detail from "@/smartor/dataobject/dw_svytopicoption_list.vue"; export default { name: "SvytopicMaint", @@ -26,7 +26,10 @@ }, mounted() { - this.$refs["detail"].handleUpdate(1) + const topicId = this.$route.params && this.$route.params.topicId + //const topicId = 1 + this.$refs["base"].Retrieve(topicId) + this.$refs["detail"].getList(topicId) } } </script> \ No newline at end of file -- Gitblit v1.9.3