chore: remote isWeapp mixin (#9236)

* chore: remote isWeapp mixin

* fix: demo locale
This commit is contained in:
neverland
2021-08-11 11:06:53 +08:00
committed by GitHub
parent 4c41908ac1
commit 735f7dd24a
24 changed files with 31 additions and 45 deletions
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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"