ZaiZai 2 سال پیش
والد
کامیت
6387905c53
1فایلهای تغییر یافته به همراه0 افزوده شده و 29 حذف شده
  1. 0 29
      src/views/home/index.vue

+ 0 - 29
src/views/home/index.vue

@@ -21,10 +21,6 @@
                         <router-link to="/schedule/data">资料进度</router-link>
                     </div>
                 </div>
-
-                <!-- <el-button type="danger" @click="delClick">删除提醒</el-button>
-
-                <el-button type="warning" @click="abnormalClick">异常提醒</el-button> -->
             </div>
         </div>
     </div>
@@ -34,7 +30,6 @@
 import { ref, watch } from 'vue'
 import { useAppStore } from '~src/store'
 import SearchInput from '~com/home/SearchInput.vue'
-import { apiErrorMessage, delMessageV2 } from '~com/message/index.js'
 import ImgText3 from '~src/assets/view/text-3.png'
 
 //变量
@@ -53,30 +48,6 @@ const searchKey = ref('')
 const SearchKeyInput = (value) => {
     searchKey.value = value
 }
-
-//删除提醒
-const delClick = () => {
-    delMessageV2((action, instance, done) => {
-        if (action === 'confirm') {
-            instance.confirmButtonLoading = true
-            instance.confirmButtonText = 'Loading...'
-            setTimeout(() => {
-                done()
-                setTimeout(() => {
-                    instance.confirmButtonLoading = false
-                }, 300)
-            }, 3000)
-        } else {
-            done()
-        }
-    })
-}
-
-
-//删除提醒
-const abnormalClick = () => {
-    apiErrorMessage()
-}
 </script>
 
 <style lang="scss" scoped>