nieyuge %!s(int64=2) %!d(string=hai) anos
pai
achega
0573b648ae
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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 = () => {