chore: remote isWeapp mixin (#9236)
* chore: remote isWeapp mixin * fix: demo locale
This commit is contained in:
@@ -26,7 +26,7 @@ const formatter = (value: string) => value.replace(/\d/g, '');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<demo-block v-if="!isWeapp" :title="t('formatValue')">
|
||||
<demo-block :title="t('formatValue')">
|
||||
<van-cell-group inset>
|
||||
<van-field
|
||||
v-model="state.value1"
|
||||
|
||||
@@ -20,7 +20,7 @@ const value = ref('');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<demo-block v-if="!isWeapp" :title="t('showWordLimit')">
|
||||
<demo-block :title="t('showWordLimit')">
|
||||
<van-cell-group inset>
|
||||
<van-field
|
||||
v-model="value"
|
||||
|
||||
Reference in New Issue
Block a user