0
点赞
收藏
分享

微信扫一扫

Tsar命令详细介绍

孟佳 2024-07-24 阅读 23

 init() {

      this.pageLoading = true;

      Promise.all([this.getTime(), this.getAddress()])

        .then(([time, host]) => {

          this.loading= false;

          this.form.time= time;

          this.form.host = host;

        })

        .catch(() => {

          this.loding= false;

        });

    },

 getTime() {

      return this.$post("/query");

    },

    // 查询上次时间同步的地址

    getAddress() {

      return this.$post("/del");

    },

mounted() {

    this.init()

  },

举报

相关推荐

0 条评论