Skip to content

Commit

Permalink
修改输入框
Browse files Browse the repository at this point in the history
  • Loading branch information
liuguofeng-java committed Dec 11, 2023
1 parent 6ebf116 commit 7f08d9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</el-col>
<el-col :span="12">
<el-form-item label="java类" prop="class" class="disabled-color">
<el-input v-model="Lform.name" disabled>
<el-input v-model="Lform.name" readonly="readonly">
<template #append>
<el-button :icon="Search" @click="selectListenerRef.handleOpen()" />
</template>
Expand Down Expand Up @@ -291,12 +291,3 @@ EventBus.on("element-init", function () {
});
});
</script>

<style scoped>
.disabled-color :deep() .is-disabled > .el-input__wrapper {
background-color: var(--el-input-bg-color) !important;
}
.disabled-color :deep() .is-disabled > .el-input__wrapper > input {
-webkit-text-fill-color: var(--el-input-text-color) !important;
}
</style>
11 changes: 1 addition & 10 deletions activiti7-ui/src/views/activiti/my/start/model/StartProcess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</el-form-item>

<el-form-item label="选择流程" prop="definitionId" class="disabled-color">
<el-input v-model="form.definitionName" disabled>
<el-input v-model="form.definitionName" readonly="readonly">
<template #append>
<el-button :icon="Search" @click="selectProcess.init()" />
</template>
Expand Down Expand Up @@ -154,12 +154,3 @@ defineExpose({
init
});
</script>

<style scoped>
.disabled-color :deep() .is-disabled > .el-input__wrapper {
background-color: var(--el-input-bg-color) !important;
}
.disabled-color :deep() .is-disabled > .el-input__wrapper > input {
-webkit-text-fill-color: var(--el-input-text-color) !important;
}
</style>

0 comments on commit 7f08d9f

Please sign in to comment.