nieyuge 2 vuotta sitten
vanhempi
commit
0573b648ae
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  1. 5 1
      src/pages/nft/add.vue

+ 5 - 1
src/pages/nft/add.vue

@@ -278,7 +278,11 @@ const jumpList = () => {
 }
 
 const changePrice = debounce((e: any) => {
-    projectPrice.value = String(Math.abs(e.target.value))
+    if (e.target.value !== '') {
+        projectPrice.value = String(Math.abs(e.target.value))
+    } else {
+        projectPrice.value = ''
+    }
 }, 500)
 
 const feedback = () => {