kz-ui-base 1.0.132 → 1.0.133

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -261,7 +261,7 @@ export default {
261
261
  .then((rs) => {
262
262
  getAllRouters().then((res) => {
263
263
  localforage.setItem("getAllRouters", res.data);
264
- if (rs.code == 209) {
264
+ if (res&&rs.code == 209) {
265
265
  this.$router.push({
266
266
  path: "/changePassword",
267
267
  query: {
@@ -251,7 +251,8 @@ export default {
251
251
  .then((rs) => {
252
252
  getAllRouters().then((res) => {
253
253
  localforage.setItem("getAllRouters", res.data);
254
- if (rs.code == 209) {
254
+
255
+ if (res&&rs.code == 209) {
255
256
  this.$router.push({
256
257
  path: "/changePassword",
257
258
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kz-ui-base",
3
- "version": "1.0.132",
3
+ "version": "1.0.133",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {