luochaofan 3 жил өмнө
parent
commit
d45c687424

+ 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', '请先选择模版或新建模板!')]),