ret;

        if (!appKey) {
          this.saveMessage = '请填写有道 AppKey。';
          this.saveMessageType = 'error';
          return;
        }
        if (!appSecret) {
          this.saveMessage = '请填写有道 AppSecret。';
          this.saveMessageType = 'error';
          return;
        }

        this.youdao.appKey = appKey;
        this.youdao.appSecret = appSecret;
        this.saveMessage = '有道 API 配置已保存。';
        this.saveMessageType = 'success';
      }
    },
