From 57a0f71fc9dd53d25431aa74f0201152b38b34f6 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期五, 12 七月 2024 18:08:34 +0800 Subject: [PATCH] test --- locale/es.json | 2 +- locale/index.js | 6 +++--- pages/modal/3200.vue | 9 +++++++++ locale/zh-Hans.json | 7 +++++-- locale/en.json | 2 +- locale/zh-Hant.json | 2 +- main.js | 10 ++++------ 7 files changed, 24 insertions(+), 14 deletions(-) diff --git a/locale/en.json b/locale/en.json index ad1702e..5d6067f 100644 --- a/locale/en.json +++ b/locale/en.json @@ -113,7 +113,7 @@ "page.tip_no_set_edit_wnd": "No editing window style set", "page.cannot_empty": "Cannot be empty", "page.required": "Required", - "page.cannot_rlated_function": "Do not support jumping to function points", + "page.cannot_related_function": "Do not support jumping to function points", "page.function_not_exist": "Function point does not exist!", "page.function_not_edit_dlg": "This function point does not have an editing window configured!", "page.no_find_attr_diaplay": "No attributes found to display!" diff --git a/locale/es.json b/locale/es.json index 058cbc4..a646929 100644 --- a/locale/es.json +++ b/locale/es.json @@ -112,7 +112,7 @@ "page.tip_no_set_edit_wnd": "No se establece el estilo de la ventana de edici贸n", "page.cannot_empty": "No puede estar vac铆o", "page.required": "Obligatorio", - "page.cannot_rlated_function": "No se admite saltar a un punto funcional", + "page.cannot_related_function": "No se admite saltar a un punto funcional", "page.function_not_exist": "隆隆 los puntos funcionales no existen!", "page.function_not_edit_dlg": "隆隆 el punto de funci贸n no est谩 configurado para la ventana de edici贸n!", "page.no_find_attr_diaplay": "隆隆 no se han encontrado atributos visibles!" diff --git a/locale/index.js b/locale/index.js index bf1997c..1658c56 100644 --- a/locale/index.js +++ b/locale/index.js @@ -20,6 +20,6 @@ // messages, // set locale messages // }) -export const setup = (app) => { - // app.use(i18n) -} \ No newline at end of file +// export const setup = (app) => { +// // app.use(i18n) +// } \ No newline at end of file diff --git a/locale/zh-Hans.json b/locale/zh-Hans.json index 726247e..81c03c5 100644 --- a/locale/zh-Hans.json +++ b/locale/zh-Hans.json @@ -116,10 +116,13 @@ "page.tip_no_set_edit_wnd": "鏈缃紪杈戠獥鍙f牱寮�, "page.cannot_empty": "涓嶈兘涓虹┖", "page.required": "蹇呭~", - "page.cannot_rlated_function": "涓嶆敮鎸佽烦杞埌鍔熻兘鐐�, + "page.cannot_related_function": "涓嶆敮鎸佽烦杞埌鍔熻兘鐐�, "page.function_not_exist": "鍔熻兘鐐逛笉瀛樺湪锛�, "page.function_not_edit_dlg": "璇ュ姛鑳界偣鏈厤缃紪杈戠獥鍙o紒", - "page.no_find_attr_diaplay": "鏈壘鍒板彲鏄剧ず鐨勭殑灞炴�锛� + "page.no_find_attr_diaplay": "鏈壘鍒板彲鏄剧ず鐨勭殑灞炴�锛�, + + + "page.cannot_prj_function": "鏆傛椂鏈敮鎸侀�鎷╅」鐩帴鍙o紒" diff --git a/locale/zh-Hant.json b/locale/zh-Hant.json index 826afb0..33b62e7 100644 --- a/locale/zh-Hant.json +++ b/locale/zh-Hant.json @@ -112,7 +112,7 @@ "page.tip_no_set_edit_wnd": "鏈ō瀹氱法杓绐楁ǎ寮�, "page.cannot_empty": "涓嶈兘鐐虹┖", "page.required": "蹇呭~", - "page.cannot_rlated_function": "涓嶆敮鎸佽烦杞夊埌鍔熻兘榛�, + "page.cannot_related_function": "涓嶆敮鎸佽烦杞夊埌鍔熻兘榛�, "page.function_not_exist": "鍔熻兘榛炰笉瀛樺湪锛�, "page.function_not_edit_dlg": "瑭插姛鑳介粸鏈厤瀵樼法杓绐楋紒", "page.no_find_attr_diaplay": "鏈壘鍒板彲椤ず鐨勭殑鍐呭锛� diff --git a/main.js b/main.js index e26bfa7..e10c420 100644 --- a/main.js +++ b/main.js @@ -18,11 +18,9 @@ const i18n = new VueI18n(i18nConfig) const app = new Vue({ - store, - ...App, - i18n, + store, + ...App, + i18n, }) -app.$mount() - - +app.$mount() \ No newline at end of file diff --git a/pages/modal/3200.vue b/pages/modal/3200.vue index 2a21fda..963b950 100644 --- a/pages/modal/3200.vue +++ b/pages/modal/3200.vue @@ -1292,6 +1292,15 @@ }); }); } + else{ + uni.showModal({ + title: this.translateSys("error"), + content: this.translate("cannot_related_function"), + showCancel: false, + confirmText: this.translateSys("cancel") + }); + + } }, //鎵ц鍚庡鐞嗕簨浠� async AfterProcess_Event(clsId, afterProcess_Event, enviroment) { -- Gitblit v1.9.1