From 6f299ac0ae6f863cc25e1534d40a1d4c450b3f36 Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期四, 03 十月 2024 10:11:48 +0800
Subject: [PATCH] 数据点编辑
---
src/components/scForm/index.vue | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/scForm/index.vue b/src/components/scForm/index.vue
index afed226..26a0fa7 100644
--- a/src/components/scForm/index.vue
+++ b/src/components/scForm/index.vue
@@ -4,7 +4,7 @@
* @Author: sakuya
* @Date: 2021骞�9鏈�22鏃�09:26:25
* @LastEditors: Sneed
- * @LastEditTime: 2024-06-02 20:11:49
+ * @LastEditTime: 2024-06-16 15:18:05
-->
<template>
@@ -26,7 +26,8 @@
<!-- input -->
<template v-if="item.component == 'input'">
<el-input v-model="form[item.name]" :placeholder="item.options.placeholder" clearable
- :maxlength="item.options.maxlength" show-word-limit></el-input>
+ :maxlength="item.options.maxlength" show-word-limit :disabled="item.disabled"
+ :type="item.type"></el-input>
</template>
<!-- checkbox -->
<template v-else-if="item.component == 'checkbox'">
@@ -111,7 +112,8 @@
</template>
<template v-else-if="item.component == 'el-tree-select'">
<el-tree-select v-model="form[item.name]" :data="item.options.data"
- :multiple="item.options.multiple" show-checkbox default-expand-all style="width: 100%"
+ :check-strictly="item.options.checkStrictly" :multiple="item.options.multiple"
+ :show-checkbox="!item.options.hidecheckbox" default-expand-all style="width: 100%"
:props="{
label: 'title',
id: 'id',
--
Gitblit v1.9.3