refactor(ui): replaced some n-input to c-input (#505)
This commit is contained in:
1 parent
5c3bebfe62
commit
05ea545475
20 files changed
+189
-235
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user