fix(api,button): return string value when $props['redirect'] = false