Browse Source

Merge pull request #1033 from guxin0123/master

Update constant.js
master
mengshukeji 3 years ago
committed by GitHub
parent
commit
447886e543
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/controllers/constant.js

6
src/controllers/constant.js

@ -842,7 +842,11 @@ function customLoadingConfig() {
const info = _locale.info; const info = _locale.info;
const config = { const config = {
enable: true, enable: true,
image: 'image://css/loading.gif', image: ()=>{
return `<svg viewBox="25 25 50 50" class="circular">
<circle cx="50" cy="50" r="20" fill="none"></circle>
</svg>`
},
text: info.loading, text: info.loading,
viewBox: "32 32 64 64", // 只有为path时,才会使用 viewBox: "32 32 64 64", // 只有为path时,才会使用
imageClass: '', imageClass: '',

Loading…
Cancel
Save