build: 重新构建前端资源文件,更新资源哈希
1. 更新index.html中引入的资源文件哈希 2. 新增/替换业务组件的打包资源文件 3. 删除旧的哈希命名的冗余资源文件 4. 同步更新PageHelp.vue组件逻辑,支持顶层字段渲染
This commit is contained in:
@@ -19,6 +19,19 @@
|
||||
<span class="lg"><i class="ic lg-fill"></i>怎么填:具体填什么</span>
|
||||
</div>
|
||||
|
||||
<!-- 顶层字段(主表单说明) -->
|
||||
<div v-if="data.fields && data.fields.length" class="ph-section">
|
||||
<div class="ph-field" v-for="(f, fi) in data.fields" :key="'top'+fi">
|
||||
<div class="ph-fname">
|
||||
{{ f.name }}
|
||||
<span class="ph-fsource">{{ f.source }}</span>
|
||||
</div>
|
||||
<div class="ph-fpurpose">{{ f.purpose }}</div>
|
||||
<div class="ph-ffill">👉 {{ f.fill }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 分组(多组) -->
|
||||
<template v-if="data.sections && data.sections.length">
|
||||
<div v-for="(sec, si) in data.sections" :key="si" class="ph-section">
|
||||
<div class="ph-sec-title" v-if="sec.title">{{ sec.title }}</div>
|
||||
@@ -34,19 +47,9 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<div v-else class="ph-section">
|
||||
<template v-if="data.fields && data.fields.length">
|
||||
<div class="ph-field" v-for="(f, fi) in data.fields" :key="fi">
|
||||
<div class="ph-fname">
|
||||
{{ f.name }}
|
||||
<span class="ph-fsource">{{ f.source }}</span>
|
||||
</div>
|
||||
<div class="ph-fpurpose">{{ f.purpose }}</div>
|
||||
<div class="ph-ffill">👉 {{ f.fill }}</div>
|
||||
</div>
|
||||
</template>
|
||||
<el-empty v-else description="暂无说明" :image-size="70" />
|
||||
</div>
|
||||
<!-- 既无顶层字段也无分组 -->
|
||||
<el-empty v-if="!data.fields && !(data.sections && data.sections.length)"
|
||||
description="暂无说明" :image-size="70" />
|
||||
</div>
|
||||
</el-drawer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user