📜  元素 ui 加载更改文本 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:20.435000             🧑  作者: Mango

代码示例1
import { Loading } from 'element-ui';

...
const options = {
     text: "Loading ..."
    customClass: 'login_loading',
    spinner: 'el-icon-loading',
    lock: true,
};
this.loadingInstance = Loading.service(options);

this.loadingInstance.setText ( 'new text');