|
@@ -55,15 +55,24 @@ export default defineComponent({
|
|
|
<div class="flex-1 ml-20px">
|
|
|
<Input
|
|
|
class="w-1/1"
|
|
|
- defaultValue={record.title}
|
|
|
placeholder="请输入标题"
|
|
|
+ defaultValue={record.title}
|
|
|
onBlur={(e: any) => {
|
|
|
const title = e.target.value;
|
|
|
if (!title) return;
|
|
|
emit("update", { title });
|
|
|
}}
|
|
|
/>
|
|
|
- {/* <Input placeholder="请输入描述" class="mt-10px w-1/1" /> */}
|
|
|
+ <Input
|
|
|
+ class="mt-10px w-1/1"
|
|
|
+ placeholder="请输入描述"
|
|
|
+ defaultValue={record.desc}
|
|
|
+ onBlur={(e: any) => {
|
|
|
+ const desc = e.target.value;
|
|
|
+ if (!desc) return;
|
|
|
+ emit("update", { desc });
|
|
|
+ }}
|
|
|
+ />
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="mt-40px flex">
|