'admin-20.12.24:优化组件默认英文问题'

This commit is contained in:
lyt-Top 2020-12-24 23:35:43 +08:00
parent df677cf912
commit 9e57ef99ca
5 changed files with 11 additions and 7 deletions

View File

@ -1128,9 +1128,7 @@ export default {
); );
} }
function onSwitchChange2() { function onSwitchChange2() {
state.wart state.wart ? Watermark.set("small@小柒") : Watermark.del();
? Watermark.set("small@小柒")
: Watermark.del();
} }
function open1() { function open1() {
proxy.$message.success({ proxy.$message.success({

View File

@ -0,0 +1,3 @@
<template>
dd
</template>

View File

@ -1,9 +1,10 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import App from './App.vue' import App from './App.vue'
import ElementPlus from 'element-plus'; import ElementPlus from 'element-plus'
import 'element-plus/lib/theme-chalk/index.css'; import 'element-plus/lib/theme-chalk/index.css'
import '/@/theme/index.scss'; import '/@/theme/index.scss'
import locale from 'element-plus/lib/locale/lang/zh-cn'
createApp(App).use(ElementPlus, { size: 'small' }).mount('#app') createApp(App).use(ElementPlus, { size: 'small', locale }).mount('#app')

View File

@ -0,0 +1 @@
const dd: string = ''

View File

@ -0,0 +1 @@
const bb: string = ''