master
Eratosici 4 years ago
parent f0c3b808ca
commit 4c19432334

@ -67,7 +67,14 @@ page {
}
.none-login .click-login{
font-size:26rpx;
color: #777;
}
.none-login .unlogin,
.none-login .click-login {
text-align: left;
padding: 0;
}
.binding-phone {
position: relative;

@ -30,12 +30,12 @@
</view>
<view class="userinfo-none" v-if="!isAuthInfo">
<view class="default-pic">
<view class="default-pic" @tap="toLogin">
<image src="../../static/images/icon/head04.png"></image>
</view>
<view class="none-login">
<button class="unlogin" @tap="toLogin"></button>
<button class="click-login" @tap="toLogin"></button>
<view class="none-login" @tap="toLogin">
<button class="unlogin">未登</button>
<button class="click-login">点击登录账号</button>
</view>
</view>
<!-- end 用户信息 -->

@ -87,7 +87,8 @@ export default {
categoryTreeProps: {
value: 'categoryId',
label: 'categoryName'
}
},
isSubmit: false
}
},
components: {
@ -144,6 +145,10 @@ export default {
}
this.$refs['dataForm'].validate((valid) => {
if (valid) {
if (this.isSubmit) {
return
}
this.isSubmit = true
this.$http({
url: this.$http.adornUrl(`/prod/category`),
method: this.dataForm.categoryId ? 'put' : 'post',
@ -160,8 +165,9 @@ export default {
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
duration: 1000,
onClose: () => {
this.isSubmit = false
this.visible = false
this.$emit('refreshDataList')
}

Loading…
Cancel
Save