|
1 | 1 | <template>
|
2 | 2 | <header id="header" :class="headerClassName">
|
3 |
| - <!-- <div v-if="visibleAdblockBanner" class="adblock-banner"> |
4 |
| - <template v-if="isZhCN"> |
5 |
| - 我们检测到你可能使用了 AdBlock 或 Adblock |
6 |
| - Plus,它会影响到正常功能的使用(如复制、展开代码等)。 |
7 |
| - <br /> |
8 |
| - 你可以将 Ant Design Vue 加入白名单,以便我们更好地提供服务。 |
9 |
| - </template> |
10 |
| - <template v-else> |
11 |
| - We have detected that you may use AdBlock or Adblock Plus, which will affect the use of |
12 |
| - normal functions (such as copying, expanding code, etc.) |
13 |
| - <br /> |
14 |
| - You can add Ant Design Vue to the whitelist so that we can provide better services. |
15 |
| - </template> |
16 |
| -
|
17 |
| - <CloseOutlined class="close-icon" @click="visibleAdblockBanner = false" /> |
18 |
| - </div> --> |
19 |
| - <div class="alert-banner"> |
20 |
| - Surely Form AI 助手内测开放申请 |
21 |
| - <a target="_blank" href="https://form.antdv.com">立即申请</a> |
22 |
| - </div> |
23 | 3 | <a-row :style="{ flexFlow: 'nowrap', height: 64, position: 'relative' }">
|
24 | 4 | <a-col v-bind="colProps[0]">
|
25 | 5 | <Logo />
|
|
57 | 37 | <strong>Ant Design Vue 4</strong>
|
58 | 38 | :五大新组件,全新 Design Token
|
59 | 39 | </li>
|
60 |
| - <li class="alert-list-item"> |
61 |
| - <strong>Surely Form</strong> |
62 |
| - :全新主题编辑, AI 问卷开放内测申请 |
63 |
| - <a target="_blank" href="https://form.antdv.com">立即体验</a> |
64 |
| - </li> |
65 | 40 | <li class="alert-list-item">
|
66 | 41 | <strong>Surely Table</strong>
|
67 | 42 | :支持高性能编辑模式了
|
@@ -157,13 +132,13 @@ export default defineComponent({
|
157 | 132 | watch(globalConfig?.blocked, val => {
|
158 | 133 | visibleAdblockBanner.value = val;
|
159 | 134 | });
|
160 |
| - const alertKey = 'ant-design-vue-4-alert'; |
161 |
| - const visibleAlertBanner = ref(!localStorage.getItem(alertKey)); |
162 |
| - watch(visibleAlertBanner, () => { |
163 |
| - if (!visibleAlertBanner.value) { |
164 |
| - localStorage.setItem(alertKey, version); |
165 |
| - } |
166 |
| - }); |
| 135 | + // const alertKey = 'ant-design-vue-4-alert'; |
| 136 | + const visibleAlertBanner = ref(false); |
| 137 | + // watch(visibleAlertBanner, () => { |
| 138 | + // if (!visibleAlertBanner.value) { |
| 139 | + // localStorage.setItem(alertKey, version); |
| 140 | + // } |
| 141 | + // }); |
167 | 142 | return {
|
168 | 143 | isZhCN: globalConfig.isZhCN,
|
169 | 144 | isMobile: globalConfig.isMobile,
|
|
0 commit comments