chore(build): 同步构建产物(site/** + sitemap 公网基址)——含本任务接线后的 data.json/data.js/逐端页,以及并行会话(S10/S9-P3)在途工作的生成物;其源码文件仍留在工作区未提交
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<template>
|
||||
<nav class="kole-anchor" :class="{ fixed }">
|
||||
<template v-for="(it, i) in items" :key="it.key">
|
||||
<button class="kole-anchor-item" :class="{ 'is-active': active === it.key }" @click="go(it.key)">{{ it.label }}</button>
|
||||
<div v-if="it.children" class="kole-anchor-sub">
|
||||
<!-- Vue 2 不允许在 <template v-for> 上写 :key,key 必须落在真实元素上 -->
|
||||
<template v-for="(it, i) in items">
|
||||
<button :key="'item-' + it.key" class="kole-anchor-item" :class="{ 'is-active': active === it.key }" @click="go(it.key)">{{ it.label }}</button>
|
||||
<div v-if="it.children" :key="'sub-' + it.key" class="kole-anchor-sub">
|
||||
<button
|
||||
v-for="c in it.children" :key="c.key"
|
||||
class="kole-anchor-item" :class="{ 'is-active': active === c.key }"
|
||||
|
||||
Reference in New Issue
Block a user