c63089e4 by 村长大人

修复BUG

1 parent da0e5ab8
...@@ -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(() => {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!