mirror of
https://github.com/CorentinTh/it-tools.git
synced 2025-04-24 00:36:14 -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
|
@ -10,16 +10,12 @@ const result = computed(() => withDefaultOnError(() => evaluate(expression.value
|
|||
|
||||
<template>
|
||||
<div>
|
||||
<n-input
|
||||
<c-input-text
|
||||
v-model:value="expression"
|
||||
rows="1"
|
||||
type="textarea"
|
||||
multiline
|
||||
placeholder="Your math expression (ex: 2*sqrt(6) )..."
|
||||
size="large"
|
||||
autocomplete="off"
|
||||
autocorrect="off"
|
||||
autocapitalize="off"
|
||||
spellcheck="false"
|
||||
raw-text
|
||||
/>
|
||||
|
||||
<c-card v-if="result !== ''" title="Result " mt-5>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue