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
You need to sign in or sign up before continuing.
Authored by
hookehuyr
2023-02-13 14:44:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
787e82b2d3ab4127bdd075dc1174e676f79b4301
787e82b2
1 parent
46163706
✨ feat(便签控件): 隐藏字段显示优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/components/NoteField/index.vue
src/components/NoteField/index.vue
View file @
787e82b
...
...
@@ -6,7 +6,7 @@
* @Description: 富文本组件
-->
<template>
<div class="note-field-page">
<div
v-if="HideShow"
class="note-field-page">
<div class="label">
<span v-if="item.component_props.required"> *</span>
{{ item.component_props.label }}
...
...
@@ -19,6 +19,10 @@
const props = defineProps({
item: Object,
});
// 隐藏显示
const HideShow = computed(() => {
return !props.item.component_props.disabled
})
</script>
<style lang="less">
...
...
Please
register
or
login
to post a comment