@@ -123,7 +123,7 @@
:style="navStyle">
<ul>
<li class="nav-item sponsors">
- <a>Sponsors</a>
+ <a>{{ lang === 'zh-CN' ? '赞助商' : 'Sponsors' }}</a>
<ul class="pure-menu-list sub-nav">
<li class="nav-item" v-show="lang !== 'zh-CN'">
<a href="https://tipe.io/?ref=element" target="_blank">
@@ -50,6 +50,7 @@ class TableLayout {
}
setHeight(value, prop = 'height') {
+ if (Vue.prototype.$isServer) return;
const el = this.table.$el;
if (typeof value === 'string' && /^\d+$/.test(value)) {
value = Number(value);