mirror of
https://github.com/youzan/vant.git
synced 2025-10-22 11:54:02 +00:00
@@ -50,7 +50,7 @@
|
||||
</demo-block>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
<script lang="ts">
|
||||
import { reactive, toRefs } from 'vue';
|
||||
import { useTranslate } from '@demo/use-translate';
|
||||
import Toast from '../../toast';
|
||||
@@ -95,7 +95,7 @@ export default {
|
||||
value9: [20, 60],
|
||||
});
|
||||
|
||||
const onChange = (value) => Toast(t('text') + value);
|
||||
const onChange = (value: string) => Toast(t('text') + value);
|
||||
|
||||
return {
|
||||
...toRefs(state),
|
||||
|
Reference in New Issue
Block a user