文件操作 - notifications.ea0378d1.js
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/all-in-one-seo-pack/dist/Lite/assets/notifications.ea0378d1.js
编辑文件内容
import{f as s,i as a,U as r,T as c,M as u,ap as l}from"./js/vendor-vue-ui.ad4935f9.js";import{l as p}from"./js/app-core.fa86622d.js";import{_ as f}from"./js/_plugin-vue_export-helper.eefbdd86.js";import{_ as m}from"./js/vendor-other.835e467b.js";import"./js/vendor-lodash.45e85310.js";const d="all-in-one-seo-pack",w={data(){return{interval:null,display:!1,strings:{newNotifications:m("You have new notifications!",d)}}},methods:{showNotificationsPopup(){if(this.interval&&window.aioseoNotifications&&parseInt(window.aioseoNotifications.newNotifications)){this.display=!0;const i=document.querySelector("#wp-admin-bar-aioseo-main");i&&i.classList.add("new-notifications")}},hideNotificationsPopup(){this.interval=null,setTimeout(()=>{this.display=!1;const i=document.querySelector("#wp-admin-bar-aioseo-main");i&&i.classList.remove("new-notifications")},500)}},created(){this.interval=setInterval(this.showNotificationsPopup,500),this.showNotificationsPopup(),setTimeout(()=>{this.interval=null,this.display=!1},5e3)}};function _(i,o,N,v,e,t){return e.display?(s(),a("div",{key:0,onClick:o[0]||(o[0]=c((...n)=>t.hideNotificationsPopup&&t.hideNotificationsPopup(...n),["stop"])),onMouseover:o[1]||(o[1]=(...n)=>t.hideNotificationsPopup&&t.hideNotificationsPopup(...n)),class:"aioseo-menu-new-notifications"},r(e.strings.newNotifications),33)):u("",!0)}const h=f(w,[["render",_]]),y=document.querySelector("#aioseo-menu-new-notifications");if(y){const i=l({...h,name:"Standalone/Notifications"});p(i),i.mount("#aioseo-menu-new-notifications")}
修改文件时间
将文件时间修改为当前时间的前一年
删除文件