update $message.error全局改成$message.warning
This commit is contained in:
@@ -551,7 +551,7 @@ export default {
|
||||
*/
|
||||
handleDelete (id) {
|
||||
if (!this.url.delete) {
|
||||
this.$message.error('请设置url.delete属性!')
|
||||
this.$message.warning('请设置url.delete属性!')
|
||||
return
|
||||
}
|
||||
const that = this
|
||||
|
||||
Reference in New Issue
Block a user