Commit 651de945 by linjinhong

修改问题

parent 54fb19a8
...@@ -5908,11 +5908,15 @@ const getNewImageFn = (img: string) => { ...@@ -5908,11 +5908,15 @@ const getNewImageFn = (img: string) => {
const labelFn = async (type: boolean) => { const labelFn = async (type: boolean) => {
try { try {
await ElMessageBox.confirm('确定添加“生产中缺货”标签?', '提示', { await ElMessageBox.confirm(
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
'提示',
{
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
}) },
)
} catch { } catch {
return return
} }
......
...@@ -6895,11 +6895,15 @@ const getEmployeeList = async () => { ...@@ -6895,11 +6895,15 @@ const getEmployeeList = async () => {
const labelFn = async (type: boolean) => { const labelFn = async (type: boolean) => {
try { try {
await ElMessageBox.confirm('确定添加“生产中缺货”标签?', '提示', { await ElMessageBox.confirm(
`确定${type ? '添加' : '移除'}生产中缺货”标签?`,
'提示',
{
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning', type: 'warning',
}) },
)
} catch { } catch {
return return
} }
......
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