修复BUG
Showing
1 changed file
with
8 additions
and
3 deletions
| ... | @@ -166,6 +166,8 @@ const data = reactive({ | ... | @@ -166,6 +166,8 @@ const data = reactive({ |
| 166 | ] | 166 | ] |
| 167 | }) | 167 | }) |
| 168 | 168 | ||
| 169 | const tableRefs = ref(null) | ||
| 170 | |||
| 169 | const { status, queryParams, total, list, showForm, rules } = toRefs(data) | 171 | const { status, queryParams, total, list, showForm, rules } = toRefs(data) |
| 170 | 172 | ||
| 171 | 173 | ||
| ... | @@ -206,10 +208,13 @@ function handleEdit (row) { | ... | @@ -206,10 +208,13 @@ function handleEdit (row) { |
| 206 | 208 | ||
| 207 | function btn_add () { | 209 | function btn_add () { |
| 208 | showForm.value.title = proxy.$t('advertisement.dialogTitleAdd') | 210 | showForm.value.title = proxy.$t('advertisement.dialogTitleAdd') |
| 209 | showForm.value = { | 211 | showForm.value.open = true |
| 210 | ...showForm.value, | 212 | showForm.value.form = { |
| 211 | open: true | 213 | showWindows: 0, |
| 214 | showAndroid: 0, | ||
| 215 | showIos: 0, | ||
| 212 | } | 216 | } |
| 217 | console.log(showForm.value.form) | ||
| 213 | } | 218 | } |
| 214 | function handleDel(row) { | 219 | function handleDel(row) { |
| 215 | proxy.$modal.confirm(`是否删除问题:${row.name}的数据`).then(() => { | 220 | proxy.$modal.confirm(`是否删除问题:${row.name}的数据`).then(() => { | ... | ... |
-
Please register or sign in to post a comment