We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a591a5 commit a8d41e2Copy full SHA for a8d41e2
web/src/view/superAdmin/dictionary/sysDictionaryDetail.vue
@@ -127,12 +127,17 @@ import {
127
findSysDictionaryDetail,
128
getSysDictionaryDetailList
129
} from '@/api/sysDictionaryDetail' // 此处请自行替换地址
130
-import { ref } from 'vue'
+import { ref, watch } from 'vue'
131
import { useRoute } from 'vue-router'
132
import { ElMessage } from 'element-plus'
133
import { formatBoolean, formatDate } from '@/utils/format'
134
const route = useRoute()
135
136
+watch(() => route.params.id, (id) => {
137
+ searchInfo.value.sysDictionaryID = Number(id)
138
+ getTableData()
139
+})
140
+
141
const formData = ref({
142
label: null,
143
value: null,
0 commit comments