Sfoglia il codice sorgente

fix:渠道添加失败

max 5 mesi fa
parent
commit
cc0e9fa4e6
1 ha cambiato i file con 7 aggiunte e 1 eliminazioni
  1. 7 1
      src/modules/payment/views/channel.vue

+ 7 - 1
src/modules/payment/views/channel.vue

@@ -104,7 +104,13 @@ const Upsert = useUpsert({
 		// 	'supportedCurrencies',
 		// 	data && data.length > 0 ? data.currencies.split(',') : []
 		// );
-	}
+	},
+	async onSubmit(data, { done, close, next }) {
+		next({
+			...data,
+			config: {}
+		});
+	},
 });
 // cl-table
 const Table = useTable({