codeMan пре 3 година
родитељ
комит
49b1a035bd
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      src/components/socketMessage/index.vue

+ 2 - 1
src/components/socketMessage/index.vue

@@ -88,7 +88,8 @@
           if (JSON.parse(msg.data).message.title == 'refresh') {
             this.$confirm('系统已上传新版本,是否立即刷新','提示',{
               confirmButtonText:'确定',
-              cancelButtonText:'取消'
+              cancelButtonText:'取消',
+              type:'warning'
             }).then(() =>{
               this.$router.go(0)
             })