From 6c1e43d919b199a47f1fc67831ed4b8f3ab7788b Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 17 六月 2022 17:07:33 +0800
Subject: [PATCH] expire dialog show

---
 src/pages/desktop/index/components/Desktop.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pages/desktop/index/components/Desktop.vue b/src/pages/desktop/index/components/Desktop.vue
index 7eb8d1a..6501c6c 100644
--- a/src/pages/desktop/index/components/Desktop.vue
+++ b/src/pages/desktop/index/components/Desktop.vue
@@ -95,7 +95,7 @@
         <span class="ver-text">鐗堟湰锛�</span>{{ versionName }}
       </div>
       <div class="ver">
-        <span class="ver-text">鐘舵�侊細</span>{{ versionState }}
+        <span class="ver-text">鐘舵�侊細</span>灏氭湭婵�娲�
       </div>
       <el-divider></el-divider>
       <div class="info" v-if="versionName == 'SmartAI姝e紡鐗�'">
@@ -157,7 +157,6 @@
       <!-- <el-divider></el-divider> -->
 
       <span slot="footer" class="dialog-footer">
-        <!-- v-if="!snExpire && versionName != 'SmartAI姝e紡鐗�'" -->
         <div class="btns">
           <el-button
             v-if="!snExpire && versionName != 'SmartAI姝e紡鐗�'"
@@ -169,7 +168,7 @@
             class="cancel"
             v-if="snExpire && versionName != 'SmartAI姝e紡鐗�'"
             @click="$emit('quit')"
-            >閫�鍑虹櫥褰�
+            >閫�鍑虹櫥闄�
           </el-button>
           <el-button class="ok" type="primary" @click="activateVersion"
             >婵�娲�</el-button
@@ -260,7 +259,7 @@
       innerDialog: false,
       versionName: "",
       codeMsg: "鑾峰彇楠岃瘉鐮�",
-      versionState: "灏氭湭婵�娲�",
+      // versionState: ,
       secrectKey: "",
       curOrder: {},
       curProd: {},
@@ -310,6 +309,7 @@
     validateSn() {
       getSN().then((res) => {
         this.snExpire = res.data.expire;
+        this.activeDialog = res.data.expire
         this.showFreeVersion = res.data.sn == "" || res.data.expire;
         this.versionName = this.getVersionName(res.data.edition);
       });

--
Gitblit v1.8.0