@witlink/usercenter 1.2.72 → 1.2.73
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.
package/dist/usercenter.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import './assets/main.
|
|
1
|
+
import './assets/main.13921abe.css';var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => {
|
|
4
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -156,10 +156,12 @@ const instance = Axios.create({
|
|
|
156
156
|
});
|
|
157
157
|
function handleReqConfig(config2) {
|
|
158
158
|
const token = storage.get(ACCESS_TOKEN);
|
|
159
|
+
const userStore = useUserStore();
|
|
159
160
|
if (token) {
|
|
160
161
|
config2.headers = {
|
|
161
162
|
...config2.headers,
|
|
162
|
-
[ACCESS_TOKEN]: token
|
|
163
|
+
[ACCESS_TOKEN]: token,
|
|
164
|
+
isoCode: userStore.userLanguage
|
|
163
165
|
};
|
|
164
166
|
}
|
|
165
167
|
return config2;
|
|
@@ -34203,7 +34205,8 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
34203
34205
|
default: withCtx(() => [
|
|
34204
34206
|
withDirectives(createVNode(_component_a_button, {
|
|
34205
34207
|
type: "link",
|
|
34206
|
-
disabled: ""
|
|
34208
|
+
disabled: "",
|
|
34209
|
+
class: "wrap-btn"
|
|
34207
34210
|
}, {
|
|
34208
34211
|
default: withCtx(() => [
|
|
34209
34212
|
createTextVNode(toDisplayString(row.name), 1)
|