Skip to content

Commit

Permalink
Merge pull request #333 from TencentBlueKing/staging
Browse files Browse the repository at this point in the history
feat: bump to 2.5.2 && change document title
  • Loading branch information
ielgnaw authored Nov 9, 2022
2 parents d2c0b46 + 4003663 commit 222fd1d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions example/components/changelog/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@

## 更新日志

<div class="changelog-wrapper">
<bk-alert type="info">
<div slot="title" style="font-weight: 700; font-size: 14px; color: #333;">如项目中 Vue 依赖版本小于 2.7,则需安装 [email protected]</div>
</bk-alert>

<div class="changelog-wrapper">

### 2.5.2 {page=#/changelog}

Expand All @@ -16,7 +19,7 @@
###### 2022.11.01

* **[breaking]**:
- **Vue 更新至 2.7.x。如项目中 Vue 依赖版本小于 2.7.x,则需安装 bk-magic-vue@2.4.15-beta.7**
- **Vue 更新至 2.7.x。如项目中 Vue 依赖版本小于 2.7,则需安装 bk-magic-vue@vue2.5-latest**
* **[add]**:
- [TimePicker 时间选择器](#/time-picker) 新增 `此刻`,便于快速选择当前时间
- [Table 表格](#/table) 添加深色表头、自定义表头配色等属性
Expand Down Expand Up @@ -1198,15 +1201,17 @@

</div>
<script>
import { getActualTop } from '../../../src/utils/util'
import { bkAlert } from '@'
if ('scrollRestoration' in history) {
history.scrollRestoration = 'manual'
}
else {
window.onunload= () => window.scrollTo(0, 0)
}
import { getActualTop } from '../../../src/utils/util'
export default {
components: {
bkAlert
},
data () {
return {
Expand Down
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<meta name="format-detection" content="telephone=no, email=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="referrer" content="never" />
<title> 蓝鲸 MagicBox-Vue 组件库 </title>
<title>MagicBox-Vue 组件库 | 腾讯蓝鲸智云</title>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit 222fd1d

Please sign in to comment.