Skip to content

Commit

Permalink
Merge pull request #73 from heiyu4585/main
Browse files Browse the repository at this point in the history
  • Loading branch information
CcSimple authored Oct 20, 2023
2 parents 75c3f49 + a80fb74 commit b16aa44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vue-plugin-hiprint",
"description": "hiprint for Vue2.x / Vue3.x 支持拖拽(分页(不分页)、表头表脚、样式设置、复制粘贴、缩放、撤销重做)生成打印模板、导出json模板数据、静默打印/获取MAC地址(借助客户端)",
"version": "0.0.55-beta16",
"version": "0.0.55-beta19",
"author": "CcSimple",
"license": "MIT",
"main": "dist/vue-plugin-hiprint.js",
Expand Down
2 changes: 1 addition & 1 deletion src/hiprint/hiprint.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var i18n = {
lang: 'cn',
languages,
__: function(key, params) {
var str = this.languages[this.lang][key]
var str = this.languages[this.lang][key] || key
if (params && params instanceof Object) {
Object.keys(params).forEach(key => {
str = str.replace(new RegExp(`{{${key}}}`, 'g'), params[key])
Expand Down

0 comments on commit b16aa44

Please sign in to comment.