|
@@ -228,7 +228,7 @@ export default defineComponent({
|
|
this.xmlFileLoading = true
|
|
this.xmlFileLoading = true
|
|
postMessage({ api: 'chooseFile', content: { type: 'xml' } }, evt => {
|
|
postMessage({ api: 'chooseFile', content: { type: 'xml' } }, evt => {
|
|
// @ts-ignore
|
|
// @ts-ignore
|
|
- this.xmlFileUrl = evt?.fileUrl || this.this.xmlFileUrl || ''
|
|
|
|
|
|
+ this.xmlFileUrl = evt?.fileUrl || this.xmlFileUrl || ''
|
|
this.xmlFileLoading = false
|
|
this.xmlFileLoading = false
|
|
if (this.xmlFileUrl) {
|
|
if (this.xmlFileUrl) {
|
|
requestOrigin(this.xmlFileUrl).then(
|
|
requestOrigin(this.xmlFileUrl).then(
|
|
@@ -417,7 +417,7 @@ export default defineComponent({
|
|
icon={UploadIcon}
|
|
icon={UploadIcon}
|
|
class={styles.upbtn}
|
|
class={styles.upbtn}
|
|
onClick={this.naiveBGMp3File}
|
|
onClick={this.naiveBGMp3File}
|
|
- loading={this.mp3Loading}
|
|
|
|
|
|
+ loading={this.bgmp3Loading}
|
|
>
|
|
>
|
|
{this.bgmp3Url
|
|
{this.bgmp3Url
|
|
? this.fileName(this.bgmp3Url)
|
|
? this.fileName(this.bgmp3Url)
|