diff --git a/.eslintrc.js b/.eslintrc.js index 2824b10..067c1dd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,6 +19,13 @@ module.exports = { 'vue/max-attributes-per-line': 'off', 'vue/multiline-html-element-content-newline': 'off', 'vue/html-indent': 'off', + 'vue/html-closing-bracket-newline': [ + 'error', + { + singleline: 'never', + multiline: 'always', + }, + ], }, parserOptions: { parser: 'babel-eslint' }, diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b661e5..7227544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - | db store | 6414c4f - | indexedDB | 687394e pinch | alloy finger实现图片的pinch放大缩小 | de01343 + plugin | 插件添加了token及param参数 | aeb0292 - | post 封装 | da52e94 - | tall插件封装 | 1bcb920 - | ws storage | 21b3a06 diff --git a/src/components/Plugin/Plugin.vue b/src/components/Plugin/Plugin.vue index 2ab39ca..a1fa2d1 100644 --- a/src/components/Plugin/Plugin.vue +++ b/src/components/Plugin/Plugin.vue @@ -73,7 +73,7 @@ export default { const reg = /data-root=["|']?(\w+)["|']?/gi; // console.log(data.html); let uuid = ''; - // FIXME: 没有兼容只有js 没有html的情况 + // FIXME: 没有兼容 只有js, 没有html的情况 if (data.html) { // 查有没有data-root=“xxx” 有的话 将xxx替换为 pluginTaskId diff --git a/src/components/TimeLine/component/TimeBox.vue b/src/components/TimeLine/component/TimeBox.vue index 97d266a..a08f17e 100644 --- a/src/components/TimeLine/component/TimeBox.vue +++ b/src/components/TimeLine/component/TimeBox.vue @@ -5,9 +5,7 @@ - - {{ $moment(+task.planStart).format(startTimeFormat) }} - + {{ $moment(+task.planStart).format(startTimeFormat) }} diff --git a/src/components/TimeLine/component/TimeStatus.vue b/src/components/TimeLine/component/TimeStatus.vue index 70c0ed8..24ac35c 100644 --- a/src/components/TimeLine/component/TimeStatus.vue +++ b/src/components/TimeLine/component/TimeStatus.vue @@ -1,11 +1,13 @@ +