- addGoods
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+ 添加食品种类
+
+
+
+
+
diff --git a/src/page/addShop.vue b/src/page/addShop.vue
index f13c3b2..432840c 100644
--- a/src/page/addShop.vue
+++ b/src/page/addShop.vue
@@ -354,6 +354,17 @@
Object.assign(this.formData, {activities: this.activities})
try{
let result = await addShop(this.formData);
+ if (result.status == 1) {
+ this.$message({
+ type: 'success',
+ message: '添加成功'
+ });
+ }else{
+ this.$message({
+ type: 'error',
+ message: result.message
+ });
+ }
console.log(result)
}catch(err){
console.error(err)
diff --git a/src/page/manage.vue b/src/page/manage.vue
index 116d374..0dfb65d 100644
--- a/src/page/manage.vue
+++ b/src/page/manage.vue
@@ -2,7 +2,7 @@
-
+
首页
数据管理
@@ -46,7 +46,11 @@
diff --git a/src/style/common.less b/src/style/common.less
index 7e4f7bd..5f15129 100644
--- a/src/style/common.less
+++ b/src/style/common.less
@@ -5,7 +5,6 @@ body, div, span, header, footer, nav, section, aside, article, ul, dl, dt, dd, l
font-style: normal;
text-decoration: none;
border: none;
- box-sizing: border-box;
font-family: "Microsoft Yahei",sans-serif;
-webkit-tap-highlight-color:transparent;
-webkit-font-smoothing: antialiased;
--
GitLab