🎨 Replace text preview loading effect
This commit is contained in:
parent
14d6e2a315
commit
25abb9d605
@ -70,7 +70,10 @@ export default {
|
||||
methods: {
|
||||
render() {
|
||||
let path = this.url;
|
||||
this.content = this.$t("page.text.loading");
|
||||
this.content = `<center>
|
||||
<i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i>
|
||||
<span class="sr-only">Loading...</span>
|
||||
</center>`;
|
||||
get_file({ path: path, file: {} }, (data) => {
|
||||
this.content = data;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user