luochaofan 3 سال پیش
والد
کامیت
d45c687424
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/customer/printTemp/step1.vue

+ 1 - 1
src/customer/printTemp/step1.vue

@@ -98,7 +98,7 @@ const next = () =>{
     store.commit('changeTempText','新建模版');
     
   }
-  if ((value.value == 'b' && temVal.value == undefined) || value.value == 'c') {
+  if ((value.value == 'b' && temVal.value == undefined || null) || value.value == 'c') {
     Modal.info({
       title: '提示',
       content: h('div', {}, [h('p', '请先选择模版或新建模板!')]),