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
							
								
									76a173ceb2
								
							
						
					
					
						commit
						c3320d771c
					
				
							
								
								
									
										30
									
								
								src/App.vue
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								src/App.vue
									
									
									
									
									
								
							@ -14,7 +14,7 @@ import en from "element-plus/es/locale/lang/en";
 | 
			
		||||
import zhCn from "element-plus/es/locale/lang/zh-cn";
 | 
			
		||||
import plusEn from "plus-pro-components/es/locale/lang/en";
 | 
			
		||||
import plusZhCn from "plus-pro-components/es/locale/lang/zh-cn";
 | 
			
		||||
import { ElNotification } from "element-plus";
 | 
			
		||||
// import { ElNotification } from "element-plus";
 | 
			
		||||
 | 
			
		||||
export default defineComponent({
 | 
			
		||||
  name: "app",
 | 
			
		||||
@ -51,20 +51,20 @@ export default defineComponent({
 | 
			
		||||
        }
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  mounted() {
 | 
			
		||||
    ElNotification({
 | 
			
		||||
      title: "通知",
 | 
			
		||||
      duration: 0,
 | 
			
		||||
      //@ts-expect-error
 | 
			
		||||
      style: { width: "260px" },
 | 
			
		||||
      position: "bottom-right",
 | 
			
		||||
      dangerouslyUseHTMLString: true,
 | 
			
		||||
      message: `<a target='_blank' style='font-size: 16px' class='block text-center text-[red] hover:text-[var(--el-color-primary)]' href='https://pure-admin.github.io/pure-admin-doc/pages/js/'>
 | 
			
		||||
        JS 版本限时优惠中!
 | 
			
		||||
        </a>
 | 
			
		||||
        `
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
  // mounted() {
 | 
			
		||||
  //   ElNotification({
 | 
			
		||||
  //     title: "通知",
 | 
			
		||||
  //     duration: 0,
 | 
			
		||||
  //     //@ts-expect-error
 | 
			
		||||
  //     style: { width: "260px" },
 | 
			
		||||
  //     position: "bottom-right",
 | 
			
		||||
  //     dangerouslyUseHTMLString: true,
 | 
			
		||||
  //     message: `<a target='_blank' style='font-size: 16px' class='block text-center text-[red] hover:text-[var(--el-color-primary)]' href='https://pure-admin.github.io/pure-admin-doc/pages/js/'>
 | 
			
		||||
  //       JS 版本限时优惠中!
 | 
			
		||||
  //       </a>
 | 
			
		||||
  //       `
 | 
			
		||||
  //   });
 | 
			
		||||
  // }
 | 
			
		||||
});
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user