mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	chore: update
This commit is contained in:
		
							parent
							
								
									b3983df384
								
							
						
					
					
						commit
						8b2ca51272
					
				
							
								
								
									
										34
									
								
								src/App.vue
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								src/App.vue
									
									
									
									
									
								
							@ -6,9 +6,9 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script lang="ts">
 | 
			
		||||
import { defineComponent, h } from "vue";
 | 
			
		||||
import { defineComponent } from "vue";
 | 
			
		||||
import { checkVersion } from "version-rocket";
 | 
			
		||||
import { ElConfigProvider, ElNotification } from "element-plus";
 | 
			
		||||
import { ElConfigProvider } from "element-plus";
 | 
			
		||||
import { ReDialog } from "@/components/ReDialog";
 | 
			
		||||
import en from "element-plus/es/locale/lang/en";
 | 
			
		||||
import zhCn from "element-plus/es/locale/lang/zh-cn";
 | 
			
		||||
@ -50,21 +50,21 @@ export default defineComponent({
 | 
			
		||||
        }
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  mounted() {
 | 
			
		||||
    ElNotification({
 | 
			
		||||
      title: "永久解答服务",
 | 
			
		||||
      duration: 0,
 | 
			
		||||
      //@ts-expect-error
 | 
			
		||||
      style: { width: "370px" },
 | 
			
		||||
      position: "bottom-right",
 | 
			
		||||
      dangerouslyUseHTMLString: true,
 | 
			
		||||
      message: `
 | 
			
		||||
        <a target='_blank' style='font-size: 16px' class='text-center text-[red] rounded hover:text-[var(--el-color-primary)]' href='https://yiming_chang.gitee.io/pure-admin-doc/pages/service/#%E6%B0%B8%E4%B9%85%E8%A7%A3%E7%AD%94%E5%BE%AE%E4%BF%A1%E7%BE%A4'>
 | 
			
		||||
        服务已升级!!!点击查看升级详情!!!
 | 
			
		||||
        </a>
 | 
			
		||||
      `
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
  // mounted() {
 | 
			
		||||
  //   ElNotification({
 | 
			
		||||
  //     title: "永久解答服务",
 | 
			
		||||
  //     duration: 0,
 | 
			
		||||
  //     //@ts-expect-error
 | 
			
		||||
  //     style: { width: "370px" },
 | 
			
		||||
  //     position: "bottom-right",
 | 
			
		||||
  //     dangerouslyUseHTMLString: true,
 | 
			
		||||
  //     message: `
 | 
			
		||||
  //       <a target='_blank' style='font-size: 16px' class='text-center text-[red] rounded hover:text-[var(--el-color-primary)]' href='https://yiming_chang.gitee.io/pure-admin-doc/pages/service/#%E6%B0%B8%E4%B9%85%E8%A7%A3%E7%AD%94%E5%BE%AE%E4%BF%A1%E7%BE%A4'>
 | 
			
		||||
  //       服务已升级!!!点击查看升级详情!!!
 | 
			
		||||
  //       </a>
 | 
			
		||||
  //     `
 | 
			
		||||
  //   });
 | 
			
		||||
  // }
 | 
			
		||||
});
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user