chore: improve multiple watch source (#8253)
This commit is contained in:
@@ -173,7 +173,7 @@ export default createComponent({
|
||||
// see: https://guwii.com/cache-issues-with-forwards-and-back-history-in-safari/
|
||||
useEventListener('pageshow', start);
|
||||
|
||||
watch([() => props.text, () => props.scrollable], start);
|
||||
watch(() => [props.text, props.scrollable], start);
|
||||
|
||||
return () => {
|
||||
const { color, wrapable, background } = props;
|
||||
|
||||
Reference in New Issue
Block a user