Commit 4fe89b0a by linjinhong

修改版本更新提示

parent f44ac5cf
......@@ -432,7 +432,9 @@ export default {
} catch (err) {
console.log(err);
if (!err.data) {
this.$message.error("该生产单号未拣胚或已完成");
this.$message.error(
"未使用英文输入法输入/扫码,或该生产单号未拣胚或已完成"
);
}
this.productionNo = "";
this.$refs.searchRef.focus();
......
......@@ -16,10 +16,10 @@ export default {
this.$refs.updateDialog.checkUpdate().then((data) => {
console.log(17, data);
// if (data) {
// // 有新版本更新
// this.$refs.updateDialog.open(data);
// }
if (data) {
// 有新版本更新
this.$refs.updateDialog.open(data);
}
});
},
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment