Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@italentjs/italent-header

Package Overview
Dependencies
Maintainers
3
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@italentjs/italent-header - npm Package Compare versions

Comparing version 1.0.44 to 1.0.45

83

app/scripts/views/common/page-regions/header-view.js

@@ -81,5 +81,5 @@ define(["talent", "templates/common", "header"], function(Talent, jst, Header) {

title: "应用商店",
target:"_blank",
target: "_blank",
href: "//www.baidu.com",
isShowNew: true,
isShowNew: true
},

@@ -216,3 +216,3 @@ {

//测试待办列表的异步加载。
if (resp.type == "Todos"||resp.type == "Appstore") {
if (resp.type == "Todos" || resp.type == "Appstore") {
self.reloadMessageDemo()

@@ -227,43 +227,44 @@ }

var self = this
// var newData = {
// type: "Appstore",
// iconName: "header-icon-appstore",
// id: "",
// title: "应用商店",
// target:"_blank",
// href: "//www.baidu.com",
// isShowNew: false,
// }
var newData = {
type: "Appstore",
iconName: "header-icon-appstore",
id: "",
title: "应用商店",
target:"_blank",
href: "//www.baidu.com",
isShowNew: false,
}
// var newData = {
// type: "Todos",
// iconName: "header-icon-daiban",
// id: "",
// title: "待办",
// href: "javascript:void(0)",
// reminds: {
// //关于新消息
// remindCount: 9, //是否有最新消息,默认0代表没有最新消息
// viewAllHref: "#", //查看全部的地址
// remindList: [
// {
// userName:
// "张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华",
// teskName: "请你负责任务",
// date: "5分钟前",
// taskContent: "视觉设计验收任务",
// href: "#",
// avatar: {
// color: "#f0c75a",
// hasAvatar: true,
// medium:
// "http://cache.tita.com/Image/110006/2e5c56760f494679b1c94234f89539a6_m.png"
// }
// }
// ]
// }
// }
type: "Todos",
iconName: "header-icon-daiban",
id: "",
title: "待办",
href: "javascript:void(0)",
reminds: {
//关于新消息
remindCount: 9, //是否有最新消息,默认0代表没有最新消息
viewAllHref: "#", //查看全部的地址
remindList: [
{
userName:
"张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华张庆华",
teskName:
"请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务请你负责任务",
date: "5分钟前",
taskContent:
"视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务视觉设计验收任务",
href: "#",
avatar: {
color: "#f0c75a",
hasAvatar: true,
medium:
"http://cache.tita.com/Image/110006/2e5c56760f494679b1c94234f89539a6_m.png"
}
}
]
}
}
setTimeout(function() {
debugger
self.header.reloadMessage(newData)
}, 3000)
}, 1000)
}

@@ -270,0 +271,0 @@ }

@@ -8,3 +8,3 @@ {

"configUser": "ux",
"version": "1.0.44",
"version": "1.0.45",
"scripts": {

@@ -11,0 +11,0 @@ "build-prod": "rm -rf index.css && rm -rf index.js && grunt build",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc