Commit 651de945 by linjinhong

修改问题

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