Skip to content

Commit b2c044d

Browse files
author
levy
committed
Merge branch 'dev'
2 parents ce820ea + 0ac53e7 commit b2c044d

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ deploy:
1919
local-dir: docs
2020
github-token: $GITHUB_TOKEN
2121
skip-cleanup: true
22+
keep-history: true
2223
- provider: npm
2324
email: levy9527@qq.com
2425
api_key: $NPM_TOKEN

build/rollup.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ const config = {
1717
commonjs(),
1818
vue({
1919
css: true,
20-
compileTemplate: true
20+
compileTemplate: true,
21+
style: {
22+
postcssPlugins: [require('autoprefixer')]
23+
}
2124
}),
2225
babel({
2326
runtimeHelpers: true,

notify.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ curl -H "Authorization: token $GITHUB_TOKEN" $url > $resp_tmp_file
1717

1818
html_url=$(sed -n 5p $resp_tmp_file | sed 's/\"html_url\"://g' | awk -F '"' '{print $2}')
1919
body=$(grep body < $resp_tmp_file | sed 's/\"body\"://g;s/\"//g')
20+
version=$(echo $html_url | awk -F '/' '{print $NF}')
2021

21-
msg='{"msgtype": "markdown", "markdown": {"title": "log-viewer更新", "text": "@所有人\n# [log-viewer]('$html_url')\n'$body'"}}'
22+
msg='{"msgtype": "markdown", "markdown": {"title": "log-viewer更新", "text": "@所有人\n# [log-viewer('$version')]('$html_url')\n'$body'"}}'
2223

2324
curl -X POST https://oapi.dingtalk.com/robot/send\?access_token\=$DINGTALK_ROBOT_TOKEN -H 'Content-Type: application/json' -d "$msg"
2425

src/components/loading.vue

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<span class="log-loading">
33
<slot>
44
<span class="loading-dots">
5-
<span>•</span>
6-
<span>•</span>
7-
<span>•</span>
5+
<span class="dot">•</span>
6+
<span class="dot">•</span>
7+
<span class="dot">•</span>
88
</span>
99
</slot>
1010
</span>
@@ -18,10 +18,8 @@ export default {
1818
<style lang="less">
1919
.log-loading {
2020
.loading-dots {
21-
margin-right: 3px;
22-
23-
span {
24-
animation: blink 1.4s infinite both;
21+
.dot {
22+
animation: blink 0.6s infinite both;
2523
margin-left: -1px;
2624
2725
&:first-child {

0 commit comments

Comments
 (0)