master
lion 3 months ago
parent 2a85fae4da
commit 713a397716

@ -169,9 +169,11 @@ export function deepCopy(data) {
return data;
}
}
export function replaceAll(str,before,after){
export function replaceAll(str,before,after){
if(!str){
return ''
}
if(str.indexOf(before) != -1){
return str.replace(new RegExp(before, 'g'),after)
}else{

@ -90,6 +90,7 @@ export default {
accept_by_merchant:'接受',
return_by_merchant:'退回',
confirm_by_merchant:'确认有效',
confirm_return:'确认商家退回',
finish_by_merchant:'核销',
mark_cancel_by_member:'用户退单',
mark_cancel_by_merchant:'标注退单',

Loading…
Cancel
Save