Explorar o código

feat 代码优化

Funny %!s(int64=3) %!d(string=hai) anos
pai
achega
c11677023f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/views/management/shop/shop.vue

+ 2 - 0
src/views/management/shop/shop.vue

@@ -217,6 +217,7 @@ const confirm = () => {
       if (res.code === 200) {
         message.success('编辑成功')
         handleShopList()
+        visible.value = false
       } else {
         message.error(res.msg)
       }
@@ -226,6 +227,7 @@ const confirm = () => {
       if (res.code === 200) {
         message.success('新增成功')
         handleShopList()
+        visible.value = false
       } else {
         message.error(res.msg)
       }