修改店铺信息校验

This commit is contained in:
luofei 2024-05-15 17:34:09 +08:00
parent ee5f03d3e8
commit 7535ec8c45
3 changed files with 4 additions and 6 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
// 路由前缀 // 路由前缀
roterPre: '/merchant', roterPre: '/merchant',
// 路由标题 // 路由标题
title: '加载中...', title: '惠农生活 - 商户端',
/** /**
* @type {boolean} true | false * @type {boolean} true | false
* @description Whether show the settings right-panel * @description Whether show the settings right-panel

View File

@ -426,8 +426,6 @@ export default {
this.$store.commit('user/SET_WHOLESALE', resData.wholesale) this.$store.commit('user/SET_WHOLESALE', resData.wholesale)
if ( if (
!resData.mer_avatar || !resData.mer_avatar ||
!resData.mer_banner ||
!resData.mer_info ||
!resData.mer_address !resData.mer_address
) { ) {
this.$alert( this.$alert(

View File

@ -24,10 +24,10 @@ module.exports = {
* In most cases please use '/' !!! * In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath * Detail: https://cli.vuejs.org/config/#publicpath
*/ */
publicPath: '/', publicPath: '/merchant',
outputDir: 'dist', outputDir: 'dist',
assetsDir: 'mer', assetsDir: 'static',
indexPath: process.env.NODE_ENV === 'development' ? 'index.html' : 'mer.html', indexPath: 'index.html',
lintOnSave: false, lintOnSave: false,
// lintOnSave: process.env.NODE_ENV === 'development', // lintOnSave: process.env.NODE_ENV === 'development',
productionSourceMap: false, productionSourceMap: false,