-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/mip custom novel2 #1290
Feat/mip custom novel2 #1290
Conversation
部署成功,请访问地址获取编译代码。 Built with commit e1e6b83 |
src/mip-custom/data.js
Outdated
for (var key in customConfig.paths) { | ||
if (customConfig.paths.hasOwnProperty(key)) { | ||
customConfig.paths[key] = customConfig.domain + customConfig.paths[key]; | ||
var conf = JSON.parse(JSON.stringify(config)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
分号
src/mip-custom/mip-custom.js
Outdated
@@ -413,16 +268,12 @@ define(function () { | |||
// 性能日志 | |||
var performance = {}; | |||
performance.fetchStart = new Date() - 0; | |||
var paramUrl = url; | |||
|
|||
var paramUrl = url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
还是分号……
@@ -478,7 +336,7 @@ define(function () { | |||
* | |||
* @param {Object} performance 性能参数 | |||
*/ | |||
customElement.prototype.setPerformanceLogs = function (performance) { | |||
customElement.prototype.setPerformanceLogs = function (performance, data) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个新增的data后面好像没有使用到?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
后面有个data.data.responseTime用到了;
提交pr时需要关联issue,请大家遵守
#1289
1、升级点 (清晰准确的描述升级的功能点)
针对小说添加新的判断条件,并且把小说的内容从custom文件中抽离出来
2、影响范围 (描述该需求上线会影响什么功能)
使用了custom和小说的组件
3、自测 checklist
chrom
4、需要覆盖的场景和case
5、自测机型和浏览器
温馨提示:非 mip-extensions 仓库的组件请在组件平台提交,否则一律打回;