main
wayne 3 years ago
parent 652c5fb41c
commit 7b8e4aa93a

@ -379,7 +379,7 @@ const handleCheckBonusSn = async () => {
if (res.data.type_money.slice(-1) == '%' || res.data.type_money.slice(-1) ==='') {
orderStore.discount = ((100 - res.data.type_money.slice(0, -1)) / 100) * orderStore.sum_amount;
} else {
orderStore.discount = res.data;
orderStore.discount = res.data.type_money;
}
if(bonus.number > 1){

@ -16,6 +16,9 @@ export default defineConfig(({ mode }) => {
return {
base: '/m/',
server: {
host: '0.0.0.0'
},
plugins: [
alias(),
vue(),

Loading…
Cancel
Save