mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-27 18:16:15 -04:00
refactor(ui): replaced some n-input to c-input (#505)
This commit is contained in:
parent
5c3bebfe62
commit
05ea545475
20 changed files with 189 additions and 235 deletions
|
@ -103,15 +103,18 @@ const sections: UserAgentResultSection[] = [
|
|||
|
||||
<template>
|
||||
<div>
|
||||
<n-form-item label="User agent string">
|
||||
<n-input
|
||||
v-model:value="ua"
|
||||
type="textarea"
|
||||
placeholder="Put your user-agent here..."
|
||||
clearable
|
||||
:autosize="{ minRows: 2 }"
|
||||
/>
|
||||
</n-form-item>
|
||||
<c-input-text
|
||||
v-model:value="ua"
|
||||
label="User agent string"
|
||||
multiline
|
||||
placeholder="Put your user-agent here..."
|
||||
clearable
|
||||
raw-text
|
||||
rows="2"
|
||||
autosize
|
||||
monospace
|
||||
mb-3
|
||||
/>
|
||||
|
||||
<UserAgentResultCards :user-agent-info="userAgentInfo" :sections="sections" />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue