The reason why the error message is not '我写的内容' is because the function $.modal.alertError() does not accept the error message as its first parameter.

The first parameter of $.modal.alertError() is typically used to specify the error code. In this case, the value is set to 200. The second parameter is used to specify the error message.

To display the error message as '我写的内容', you can modify the code as follows:

$.modal.alertError('', '我写的内容');

$.modal.alertError() 错误提示不显示'我写的内容'的原因

原文地址: https://www.cveoy.top/t/topic/bkiT 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录