| @@ -352,41 +352,41 @@ export default { | |||
| }, | |||
| computed: { | |||
| cpuSpec(){ | |||
| let cpu_spec = `${this.$t("notebook.specification")}:GPU: ${this.notebookInfo.specCpu.acc_cards_num}*${this.notebookInfo.specCpu.acc_card_type}, CPU: ${this.notebookInfo.specCpu.cpu_cores}, ` | |||
| let cpu_spec = `${this.$t("notebook.specification")}:GPU: ${this.notebookInfo.specCpu.acc_cards_num}*${this.notebookInfo.specCpu.acc_card_type}, CPU: ${this.notebookInfo.specCpu.cpu_cores}` | |||
| if(this.notebookInfo.specCpu.gpu_mem_gi_b!==0){ | |||
| cpu_spec += `${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specCpu.gpu_mem_gi_b}GB, ` | |||
| cpu_spec += `, ${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specCpu.gpu_mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specCpu.mem_gi_b!==0){ | |||
| cpu_spec += `${this.$t("notebook.memory")}: ${this.notebookInfo.specCpu.mem_gi_b}GB, ` | |||
| cpu_spec += `, ${this.$t("notebook.memory")}: ${this.notebookInfo.specCpu.mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specCpu.share_mem_gi_b!==0){ | |||
| cpu_spec += `${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specCpu.share_mem_gi_b}GB` | |||
| cpu_spec += `, ${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specCpu.share_mem_gi_b}GB` | |||
| } | |||
| return cpu_spec | |||
| }, | |||
| npuSpec(){ | |||
| let npu_spec = `${this.$t("notebook.specification")}:NPU: ${this.notebookInfo.specNpu.acc_cards_num}*${this.notebookInfo.specNpu.acc_card_type}, CPU: ${this.notebookInfo.specNpu.cpu_cores}, ` | |||
| let npu_spec = `${this.$t("notebook.specification")}:NPU: ${this.notebookInfo.specNpu.acc_cards_num}*${this.notebookInfo.specNpu.acc_card_type}, CPU: ${this.notebookInfo.specNpu.cpu_cores}` | |||
| if(this.notebookInfo.specNpu.gpu_mem_gi_b!==0){ | |||
| npu_spec += `${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specNpu.gpu_mem_gi_b}GB, ` | |||
| npu_spec += `, ${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specNpu.gpu_mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specNpu.mem_gi_b!==0){ | |||
| npu_spec += `${this.$t("notebook.memory")}: ${this.notebookInfo.specNpu.mem_gi_b}GB, ` | |||
| npu_spec += `, ${this.$t("notebook.memory")}: ${this.notebookInfo.specNpu.mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specNpu.share_mem_gi_b!==0){ | |||
| npu_spec += `${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specNpu.share_mem_gi_b}GB` | |||
| npu_spec += `, ${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specNpu.share_mem_gi_b}GB` | |||
| } | |||
| return npu_spec | |||
| }, | |||
| gpuSpec(){ | |||
| let gpu_spec = `${this.$t("notebook.specification")}:GPU: ${this.notebookInfo.specGpu.acc_cards_num}*${this.notebookInfo.specGpu.acc_card_type}, CPU: ${this.notebookInfo.specGpu.cpu_cores}, ` | |||
| let gpu_spec = `${this.$t("notebook.specification")}:GPU: ${this.notebookInfo.specGpu.acc_cards_num}*${this.notebookInfo.specGpu.acc_card_type}, CPU: ${this.notebookInfo.specGpu.cpu_cores}` | |||
| if(this.notebookInfo.specGpu.gpu_mem_gi_b!==0){ | |||
| gpu_spec += `${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specGpu.gpu_mem_gi_b}GB, ` | |||
| gpu_spec += `, ${this.$t("notebook.graphicMemory")}: ${this.notebookInfo.specGpu.gpu_mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specGpu.mem_gi_b!==0){ | |||
| gpu_spec += `${this.$t("notebook.memory")}: ${this.notebookInfo.specGpu.mem_gi_b}GB, ` | |||
| gpu_spec += `, ${this.$t("notebook.memory")}: ${this.notebookInfo.specGpu.mem_gi_b}GB` | |||
| } | |||
| if(this.notebookInfo.specGpu.share_mem_gi_b!==0){ | |||
| gpu_spec += `${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specGpu.share_mem_gi_b}GB` | |||
| gpu_spec += `, ${this.$t("notebook.sharedMemory")}: ${this.notebookInfo.specGpu.share_mem_gi_b}GB` | |||
| } | |||
| return gpu_spec | |||
| } | |||