fix: 商品已下架

fix/0701-ch
ch 3 years ago
parent 9f195f09b7
commit 194587ba1b

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-23 17:27:21 * @Date: 2022-03-23 17:27:21
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-07-04 10:40:18 * @LastEditTime: 2022-07-04 16:26:33
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -107,7 +107,7 @@ export default {
if(HandleApiError(error, 'getGoodsDetail')){ if(HandleApiError(error, 'getGoodsDetail')){
return false; return false;
} }
if(result.isEnable){ if(!result.isEnable){
this.$Router.replace('/enable') this.$Router.replace('/enable')
return false; return false;
} }

Loading…
Cancel
Save