1. 程式人生 > >cube-ui中彈窗

cube-ui中彈窗

      if (!this.surname) {
        this.$createDialog({
          type: "alert",
          icon: "cubeic-close",
          showClose: true,
          content: this.$t("message.errInputSurname"),
          onClose: () => {
            this.$createToast({
              type: "warn",
              time: 
2000, txt: this.$t("message.Close") }).show(); } }).show(); return; }