管理、商家添加登录图片验证

This commit is contained in:
mabo
2021-06-03 14:35:19 +08:00
parent 65cb7787a6
commit 33ec809e73
19 changed files with 528 additions and 44 deletions

View File

@@ -5,6 +5,7 @@
</template>
<script>
import {v4 as uuidv4} from 'uuid';
import {getCategoryTree} from '@/api/goods.js'
export default {
updated() {
@@ -15,7 +16,14 @@ export default {
}
})
}
}
},
mounted() {
let uuid = this.getStore('uuid');
if (!uuid) {
uuid = uuidv4();
this.setStore('uuid', uuid);
}
},
};
</script>