Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2024-08-02 17:34:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7c692fb3095807b2f9a67f662f43b1fa572757b2
7c692fb3
1 parent
a69fd322
fix 预览时需要看到头部图片
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/index.vue
src/views/index.vue
View file @
7c692fb
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-0
1 16:33:00
* @LastEditTime: 2024-08-0
2 16:18:39
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -10,7 +10,7 @@
mode="closeable" />
<!-- <div class="table-box" :style="{ margin: is_pc ? '1rem 0' : '1rem' }"> -->
<div class="table-box">
<template v-if="PHeader.visible &&
page_type === 'add'
">
<template v-if="PHeader.visible &&
(page_type === 'add' || model === 'preview')
">
<van-image v-if="PHeader.type === 'image' && PHeader.cover" width="100%" :src="PHeader.cover + '?imageView2/0/w/2000'" fit="cover" />
<template v-if="PHeader.type === 'carousel'">
<van-swipe class="my-swipe" lazy-render indicator-color="white">
...
...
@@ -591,11 +591,11 @@ onMounted(async () => {
// "index": 2,
// "label": "表格",
// "unique": false,
// "default": "<p>
123
</p>",
// "default": "<p>
999
</p>",
// "disabled": false,
// "field_id": 799599,
// "readonly": false,
// "required":
tru
e,
// "required":
fals
e,
// "data_type": "text",
// "field_name": "field_2",
// "placeholder": "请输入",
...
...
Please
register
or
login
to post a comment